Commit Graph

79 Commits

Author SHA1 Message Date
Qi Xiao
e40a400795 Another attempt at fixing Travis build.
GNU test doesn't have the '>=' operator :-/
2017-07-11 01:14:17 +01:00
Qi Xiao
50b0a3f60b Fix Travis build.
TRAVIS_GO_VERSION is now set to 1.8.3, so a literal match against 1.8 no
longer works. This test is now changed to "$(TRAVIS_GO_VERSION)" '>=' 1.8.
2017-07-11 01:05:24 +01:00
Qi Xiao
bc5543aef2 Makefile: more usable. 2017-06-11 23:16:34 +01:00
Qi Xiao
d490c640d4 Makefile: Switch to -covermode set.
Hopefully this will fix coverage fluctuations...
2017-05-31 23:26:03 +01:00
Qi Xiao
054134fb89 Makefile: Don't error when some packages have no coverage. 2017-05-29 12:59:48 +01:00
Qi Xiao
d62f8d304f Let Travis build with go 1.8.
Go 1.8 was released 3 months ago. I feel like an old person.
2017-05-23 23:43:38 +01:00
Qi Xiao
2d01da47eb Don't fail when not sending goveralls report. 2017-05-23 02:18:41 +01:00
Qi Xiao
d328046be4 Suppress coveralls upgrade for PRs. 2017-05-23 02:00:33 +01:00
Qi Xiao
d579e8ed8a Fix rule for nested package cover. 2017-02-11 22:15:37 -05:00
Qi Xiao
4dac14a783 Makefile: Make cover/% rule nested-package-friendly. 2017-02-11 18:44:52 -05:00
Qi Xiao
3c2df84afa Add tag in filename when uploading from Travis. 2016-10-26 23:16:39 +08:00
Qi Xiao
36271874d8 Remove elvish-stub. 2016-10-26 17:36:26 +08:00
Qi Xiao
948b91f6a7 Always send coverage.
Turns out that coveralls.io understands multiple jobs of the same build.
2016-10-15 16:40:41 +08:00
Qi Xiao
e8535c49a2 Don't run tests twice on Travis. 2016-10-13 18:14:27 +08:00
Qi Xiao
1975c742c3 Only send coverage on go 1.7 linux. 2016-10-13 16:32:00 +08:00
Qi Xiao
03f9f1fc8b Try to upload coverage to coveralls.io
The technique of concatenating multiple coverage files was learned from
the Makefile of github.com/limetext/backend.
2016-10-13 16:18:22 +08:00
Qi Xiao
ff9d33eb91 Install elvish-stub to the first entry of $GOPATH. 2016-10-13 16:03:16 +08:00
Qi Xiao
13358b3e8c Finer control over uploading from Travis. 2016-10-08 05:27:25 +02:00
Qi Xiao
da456b7f5c Makefile: Use "=" in call to test. 2016-09-15 16:24:25 +02:00
Qi Xiao
2cfcfd942b Update Makefile.
Skip vendored dependencies when testing; only upload binaries built by
go 1.7.
2016-09-15 16:18:03 +02:00
Qi Xiao
4f8d2b0579 Revert "Work around Travis's broken IPv6"
This reverts commit 04aa3c3871.
2016-09-07 22:00:45 +02:00
Qi Xiao
04aa3c3871 Work around Travis's broken IPv6 2016-09-07 21:14:32 +02:00
Qi Xiao
c13fcfa201 Fix travis upload URL. 2016-03-15 12:51:36 +01:00
Qi Xiao
aa6a5fa83e Temp fix for upload URL.
It seems that the DNS change of elvish.io two days ago still hasn't fully
propagated.
2016-03-14 13:10:53 +01:00
Qi Xiao
fbbd145567 Makefile: change upload URL. 2016-03-14 12:43:20 +01:00
Qi Xiao
68c3b47094 Reorganize README; switch to gz for binaries. 2016-02-23 00:44:03 +01:00
Qi Xiao
22be6e24df Add a phony target "stub". 2016-02-22 14:49:21 +01:00
Qi Xiao
70f9044bfb Check $GOPATH when building stub. 2016-02-22 14:47:20 +01:00
Qi Xiao
f9cdd8db20 Fix make -j2.
When comping the stub, $(GOPATH)/bin is assumed to exist. This breaks
`make -j2`, where `get` and `$(STUB)` may be built in parallel.
2016-02-22 14:43:12 +01:00
Qi Xiao
46f83e9fbf Portable Makefile. 2016-02-21 18:44:36 +00:00
Qi Xiao
cf277971ae Revise Makefile. 2016-02-21 18:34:40 +00:00
Qi Xiao
79856655ac Makefile: don't test -v 2016-02-21 18:31:00 +00:00
Qi Xiao
f8bb85dcf0 Include branch name when uploading from Travis. 2016-02-21 17:00:42 +01:00
Qi Xiao
172fa49056 Makefile: test -v 2016-02-21 15:13:30 +01:00
Qi Xiao
de66cbe8d5 elvish-stub -> stubimpl 2016-02-21 12:49:24 +01:00
Qi Xiao
c29d342b07 Disable test of elvish-stub. 2016-02-21 12:21:57 +01:00
Qi Xiao
8215baf392 Rewrite elvish-stub in C. 2016-02-21 11:59:46 +01:00
Qi Xiao
830441ca22 Makefile: Also test elvish-stub. 2016-02-21 00:45:03 +01:00
Qi Xiao
7b1a5f8bac Build and upload elvish-stub in Travis. 2016-02-21 00:42:11 +01:00
Qi Xiao
6450900774 Change uploading URL. 2016-02-11 21:16:34 +01:00
Qi Xiao
a560be7206 Don't reveal token in Travis builds. 2016-02-10 01:01:00 +01:00
Qi Xiao
be7c2ae710 Let Travis upload built binary to my VPS. 2016-02-10 00:53:23 +01:00
Qi Xiao
133fb465f9 Try to fix the "travis" target. 2016-02-09 23:20:31 +01:00
Qi Xiao
ccb4ca16f9 Generate artificat on Travis-CI. 2016-02-09 23:11:31 +01:00
Qi Xiao
d373d6398d Remove generate from the all target of Makefile 2016-02-09 01:24:21 +01:00
Qi Xiao
c6ec8b528a Fix a generate doc; add generate to target "all". 2016-02-07 20:36:20 +01:00
Qi Xiao
72eca12237 Future-proof Makefile. 2016-02-07 04:36:32 +01:00
Qi Xiao
f76e2ccfa5 Update Makefile. 2016-02-07 04:32:44 +01:00
Qi Xiao
1a490de6fd sysutil -> osutil; add package doc 2016-01-29 03:04:31 +01:00
Qi Xiao
f8c7f69e93 Revert "Makefile: run tests with -v"
This reverts commit d8b87da39a.
2016-01-27 23:26:30 +00:00