From faf9554286534a779da7b8c0ff9626b91f46b378 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 19 Sep 2020 18:52:49 +0200 Subject: [PATCH] Added lines between job definitions in travis config --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0c7c4079..e4c12ff4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,24 +18,29 @@ jobs: allow_failures: - name: 'Mutation tests' include: + - name: 'Lint' install: npm ci script: npm run lint + - name: 'Unit tests' install: npm ci script: npm run test:ci after_success: - node_modules/.bin/ocular coverage/clover.xml + - name: 'Mutation tests' install: npm ci before_script: - echo "Building commit range ${TRAVIS_COMMIT_RANGE}" - export MUTATION_FILES=$(git diff ${TRAVIS_COMMIT_RANGE:-origin/main} --name-only | grep -E 'src\/(.*).(ts|tsx)$' | paste -sd ",") script: npm run mutate:ci + - name: 'Build docker image' services: - docker script: docker build -t shlink-web-client:test . + - name: 'Publish release' if: tag IS present before_deploy: npm run build ${TRAVIS_TAG#?} # Before deploying, build dist file for current travis tag