diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-01-09 20:02:13 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-01-09 23:22:32 +0300 |
commit | e0a7a2ffdd77909c198f7f91e9f4b60bc1ed77e0 (patch) | |
tree | 606fe84db6cb5381b93b3ec79b10ca027b844804 /.travis.yml | |
parent | 3f009fbf2c42f68c5127efecc6e22db105a74fe0 (diff) |
chore: ci cleanup
- Moved windows builds to travis-only since they're currently failing
on GHA and it's not code-related
- Added setup on GHA config to only run coverage once in ubuntu target
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/.travis.yml b/.travis.yml index 151be8440..cec3aac22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,46 +2,16 @@ language: node_js os: - - linux + - windows node_js: - 12 - 10 - 8 + - 6 env: "DEPLOY_VERSION=testing" -# having top-level `env:` adds a phantom build -# https://github.com/travis-ci/travis-ci/issues/4681 -#env: DEPLOY_VERSION=testing -matrix: - include: - # Run the sudotest, but only on Linux - - node_js: "12" - # DEPLOY_VERSION is used to set the couchapp setup mode for test/tap/registry.js - # only gather coverage info for LTS - env: DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN" - script: - # run the sudo tests, with coverage enabled - - "sudo PATH=$PATH $(which node) . run tap -- \"test/tap/*.js\" --coverage --timeout 600" - - # also run standard and license checking - - node_js: "10" - script: - - "npx standard" - - "node . run licenses" - - # separate out node 6 so we can turn off caching, because that - # always breaks for some reason. - - node_js: "6" - cache: false - env: "DEPLOY_VERSION=testing" - - # only run one test on Windows, because it's hella slow - - node_js: "12" - os: "windows" - env: "DEPLOY_VERSION=testing" - notifications: slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8 |