Skip to content

Commit 5c6abc8

Browse files
committed
ci(Travis): Use yarn instead of npm. Drop old node versions
1 parent c90088e commit 5c6abc8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.travis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
sudo: false
22
language: node_js
33
cache:
4+
yarn: true
45
directories:
56
- node_modules
67
notifications:
78
email: true
89
node_js:
10+
- "7"
911
- "6"
1012
- "5"
1113
- "4"
12-
- "0.12"
13-
- "0.10"
14-
before_install:
15-
- npm i -g npm@^2.0.0
16-
- npm i graphql graphql-compose
17-
before_script:
18-
- npm prune
1914
script:
20-
- npm run coverage
21-
- npm run build
15+
- yarn add -g graphql graphql-compose
16+
- yarn run coverage
17+
- yarn run build
2218
after_success:
2319
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
2420
- python travis_after_all.py

0 commit comments

Comments
 (0)