Skip to content

Commit bf758b4

Browse files
committed
update travis config to use greenkeeper-lockfile
1 parent 402c88e commit bf758b4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1+
sudo: required
2+
13
os:
24
- linux
35

46
language: node_js
57

68
node_js:
9+
- '10'
710
- '8'
811

9-
script: npm run test -- --runInBand
12+
before_install: # if "install" is overridden
13+
# Repo for Yarn
14+
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
15+
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
16+
- sudo apt-get update -qq
17+
- sudo apt-get install -y -qq yarn
18+
- yarn global add greenkeeper-lockfile@1
19+
20+
script: yarn test --runInBand
1021

1122
branches:
1223
only:
@@ -26,3 +37,5 @@ before_script:
2637
- "export DISPLAY=:99.0"
2738
- "sh -e /etc/init.d/xvfb start"
2839
- sleep 3 # give xvfb some time to start
40+
- greenkeeper-lockfile-update
41+
after_script: greenkeeper-lockfile-upload

0 commit comments

Comments
 (0)