From af63af575c985d84852051fc5f80320be7478ae0 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 20 Jul 2018 22:08:52 +0100 Subject: [PATCH] travis jobs config (#525) --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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