diff --git a/.travis.yml b/.travis.yml index 5ddef355..ca81d951 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,12 +17,13 @@ jobs: include: - stage: lint and build node_js: node - script: npm run lint - script: npm run build + script: + - npm run lint + - npm run build - &test stage: test - node_js: 8 + node_js: node before_script: ## Spin up container - cd test/docker/ @@ -33,17 +34,9 @@ jobs: - export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'printf "%q" "${PERSONAL_ACCESS_TOKEN}"') - export GITLAB_URL=$(docker exec -it gitlab bash -lc 'printf "%q" "${GITLAB_URL}"') - script: npm run test - - - <<: *test - node_js: lts/* - - - <<: *test - node_js: 9 - - - <<: *test - node_js: node - + script: + - nvm install node && npm ci && npm run build && npm run test + - stage: release node_js: node script: