Skip to content

Commit 1925c8e

Browse files
committed
fix: update Travis-CI config
1 parent 2b53c76 commit 1925c8e

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.travis.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
language: node_js
22
node_js:
3-
- 'stable'
3+
- '8'
4+
- 'stable'
45

5-
cache: 'yarn'
6+
addons:
7+
chrome: stable
8+
9+
cache:
10+
directories:
11+
- $HOME/.npm
12+
13+
sudo: required
14+
dist: trusty
615

716
script: npm run test:ci
817

9-
before_install:
10-
- npm install -g npm
11-
- npm install -g greenkeeper-lockfile@1
12-
before_script: greenkeeper-lockfile-update
13-
# Only the node version 6 job will upload the lockfile
14-
after_script: greenkeeper-lockfile-upload
18+
before_script:
19+
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
20+
- sudo chown root /opt/google/chrome/chrome-sandbox
21+
22+
after_success:
23+
- npm run travis-deploy-once "npm run semantic-release"
24+
branches:
25+
except:
26+
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)