diff --git a/.travis.yml b/.travis.yml index 83c3bf80a..bc160f44f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,16 +16,16 @@ before_script: - sudo /etc/init.d/postgresql stop before_install: + - npm install -g npm@latest - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 # give xvfb some time to start -install: - - npm install -g npm@latest - - npm ci - -script: - # - docker-compose stop - - npm run build - - npm run test:ci - - npm run e2e:docker +jobs: + include: + - stage: test + script: npm run lint && npm run spellcheck + - stage: test + script: npm run test:ci + - stage: e2e + script: npm run build && npm run e2e:docker