Skip to content

Commit 8cdf355

Browse files
committed
ci(Travis): Use yarn. Drop old node versions
1 parent dd550e8 commit 8cdf355

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
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 graphql -g
16+
- yarn add graphql-compose -g
17+
- yarn run coverage
18+
- yarn run build
2219
after_success:
2320
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
2421
- python travis_after_all.py

0 commit comments

Comments
 (0)