summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 13 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index cb33e24..1a05b82 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,20 +1,23 @@
-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
- - yarn build
- - travis_wait yarn test
+ - FENGARICONF='{"LUAI_MAXSTACK":100000}' travis_wait yarn test
notifications:
email: false