summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-03-29 01:26:16 +1100
committerdaurnimator <quae@daurnimator.com>2018-03-29 01:31:53 +1100
commit58ddc906a75258ef1ac96215bcf7a86cb8ed37f6 (patch)
tree16287dbfffb031590df5d566ce6bb21822a6a732 /.travis.yml
parenta4821fba8c0036507a70671c9f6d26e513ab8317 (diff)
downloadfengari-58ddc906a75258ef1ac96215bcf7a86cb8ed37f6.tar.gz
fengari-58ddc906a75258ef1ac96215bcf7a86cb8ed37f6.tar.bz2
fengari-58ddc906a75258ef1ac96215bcf7a86cb8ed37f6.zip
.travis.yml: take advantage of newer travis features
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 12 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 6e78b35..1a05b82 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,19 @@
-language: node
+sudo: false
+dist: trusty
+language: node_js
cache: yarn
-before_install:
- - nvm install node
- - export NODE=$(nvm which node)
- - export NPM=${NODE%node}npm
- - $NPM install -g yarn
+matrix:
+ include:
+ - node_js: 8
+ - node_js: node
-install:
- - yarn
+before_install:
+ - 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi'
+ - nvm --version
+ - node --version
+ - npm --version
script:
- yarn lint