Skip to content

Commit 29aded6

Browse files
committed
simplify travis.yml
1 parent de6676e commit 29aded6

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

.travis.yml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,24 @@
1-
dist: trusty
2-
31
language: node_js
42

53
node_js:
64
- "6"
7-
- "stable"
8-
9-
addons:
10-
apt:
11-
sources:
12-
- ubuntu-toolchain-r-test
13-
packages:
14-
- gcc-4.8
15-
- g++-4.8
16-
17-
sudo: required
18-
19-
before_install:
20-
- sudo apt-get -qq update
21-
- curl -o- -L https://yarnpkg.com/install.sh | bash
22-
- export PATH="$HOME/.yarn/bin:$PATH"
5+
- "8"
236

24-
install:
25-
- yarn
7+
sudo: false
268

279
before_script:
2810
- export DISPLAY=:99.0
2911
- sh -e /etc/init.d/xvfb start
3012
- export NODE_ENV=development
3113

3214
cache:
33-
yarn: true
3415
directories:
3516
- node_modules
3617

3718
script:
38-
- yarn lint
39-
- yarn test
40-
- yarn test-node
19+
- npm run lint
20+
- npm run test
21+
- npm run test-node
4122

4223
env:
4324
- TRAVIS=travis CXX=g++-4.8

0 commit comments

Comments
 (0)