Qi Xiao
0c9014114e
Allow codecov upload to fail.
...
Codecov's API endpoint is sometimes unstable. The CI should not fail when the
upload fails.
2020-07-05 19:18:57 +01:00
Qi Xiao
ee79ba529e
.cirrus.yml: Add tasks for checking style.
2020-06-24 23:21:59 +01:00
Qi Xiao
2dae13f4a1
.cirrus.yml: Do not fail skipped coverage script.
2020-04-14 23:31:02 +01:00
Qi Xiao
3f65533f75
.cirrus.yml: Skip codecov uploads on FreeBSD and old Go on Linux.
2020-04-14 23:29:06 +01:00
Qi Xiao
fc79a716d9
.cirrus.yml: Expose the codecov token.
...
This token can only be used for uploading coverage reports, so the worst that
can happen is getting false coverage reports. The token can be revoked if such
abuse ever happens.
2020-04-05 14:49:14 +01:00
Qi Xiao
6ff0d35ad5
.cirrus.yml: Do not deploy for PRs.
...
The deploy task was (correctly!) failing for PRs since PRs could not access the
encrypted bintray credential.
2020-04-05 13:16:08 +01:00
Qi Xiao
2348a9fc48
.cirrus.yml: Fix BINTRAY_TOKEN.
2020-04-04 00:25:55 +01:00
Qi Xiao
04fb991b83
.cirrus.yml: Use the theelves/cirrus-builder image.
2020-04-04 00:11:27 +01:00
Qi Xiao
09ecce47d8
.cirrus.yml: Use theelves/up in the deploy task.
2020-04-03 23:53:03 +01:00
Qi Xiao
deac4904d4
.cirrus.yml: Test with -race.
2020-04-03 23:33:46 +01:00
Qi Xiao
cc9d03588c
Deploy to bintray from Cirrus CI, and remove Travis config.
2020-04-03 23:23:23 +01:00
Qi Xiao
1d935bbfc1
Add Codecov token to Cirrus CI config, and remove coverage upload on Travis.
2020-04-03 22:41:32 +01:00
Qi Xiao
770fd8e6c4
Scale all test timeouts with $ELVISH_TEST_TIME_SCALE.
2020-04-03 22:12:20 +01:00
Qi Xiao
d05f57447b
.cirrus.yml: Fix setup in FreeBSD.
...
The FreeBSD image has no bash, so install it as part of setup.
2020-04-03 21:58:41 +01:00
Qi Xiao
a7004a150e
.cirrus.yml: Remove Windows, add old Go version, upload coverage.
2020-04-03 21:07:32 +01:00
Qi Xiao
fa59fb8e2c
.cirrus.yml: Hopefully fix the cache config.
2020-04-03 04:36:13 +01:00
Qi Xiao
655dee65d6
.cirrus.yml: Remove debug scripts that print environments.
...
In future Cirrus CI will have access to some credential environment variables,
so stop showing them.
2020-04-03 02:59:32 +01:00
Qi Xiao
0e005c6f12
.cirrus.yml: Move go_env_debug_script after the matrix block.
...
The script requires go to be already available, so running it before the matrix
block can fail.
2020-04-03 02:45:13 +01:00
Qi Xiao
1c28985c75
.cirrus.yml: Fix the env_debu_script for Windows.
...
Windows's cmd.exe does not use semicolons to separate commands, plus the output
captured by Cirrus CI already contains the working directory. So just remove the
"cd" command (which prints out the working directory when given no argument).
2020-04-03 02:42:33 +01:00
Qi Xiao
14a0df6c05
.cirrus.yml: Use $HOME/go instead of $GOPATH in cache config.
...
See code comment for details.
Also reorganize the scripts a bit.
2020-04-03 02:38:30 +01:00
Qi Xiao
99cfb54694
.cirrus.yml: Add human-readable names for each environment.
2020-04-03 02:30:00 +01:00
Qi Xiao
70de702770
.cirrus.yml: Fix scripts, again.
...
Cirrus does not allow multiple scripts with the same name (kudos!), so configure
env_script separately for each environment.
2020-04-03 02:26:55 +01:00
Qi Xiao
b88b95cc13
.cirrus.yml: Fix syntax.
2020-04-03 02:14:54 +01:00
Qi Xiao
541266d37b
.cirrus.yml: Add more debug information about the execution environment.
...
Also remove the GOPROXY env variable as it now defaults to proxy.golang.org.
2020-04-03 02:10:36 +01:00
Qi Xiao
22e580618a
.cirrus.yml: Run "go env" to help debugging.
2020-04-03 01:24:26 +01:00
Qi Xiao
db43813b9b
.cirrus.yml: Set up go environment, and avoid using make.
2020-04-02 19:31:36 +01:00
Qi Xiao
0e6eb3083b
.cirrus.yml: Add Windows, macOS and FreeBSD environments.
2020-04-02 17:27:31 +01:00
Qi Xiao
763f54cd8c
.cirrus.yml: Add minimal config for Cirrus CI.
2020-04-02 14:32:55 +01:00