Skip to content

Commit 09ad79a

Browse files
committed
ci(Travis): Use yarn instead of npm. Drop old node versions.
1 parent e48a4e6 commit 09ad79a

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
@@ -9,24 +9,20 @@ addons:
99
packages:
1010
- mongodb-org-server
1111
cache:
12+
yarn: true
1213
directories:
1314
- node_modules
1415
notifications:
1516
email: true
1617
node_js:
18+
- "7"
1719
- "6"
1820
- "5"
1921
- "4"
20-
- "0.12"
21-
- "0.10"
22-
before_install:
23-
- npm i -g npm@^2.0.0
24-
- npm i graphql graphql-compose graphql-compose-connection mongoose
25-
before_script:
26-
- npm prune
2722
script:
28-
- npm run coverage
29-
- npm run build
23+
- yarn add -g graphql graphql-compose graphql-compose-connection mongoose
24+
- yarn run coverage
25+
- yarn run build
3026
after_success:
3127
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
3228
- python travis_after_all.py

0 commit comments

Comments
 (0)