Skip to content

Commit

Permalink
ci: Don't dry run on non-latest localforage version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Sep 11, 2018
1 parent 0447773 commit bdc263c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ install: yarn install --check-files

script:
- yarn run lint
- if [[ $GH_TOKEN ]]; then yarn run build && semantic-release --dry-run --branch $TRAVIS_BRANCH; else yarn run build:esm5 --noEmit; fi;
- yarn test

after_script: if [[ $GH_TOKEN ]]; then greenkeeper-lockfile-upload; fi;
Expand All @@ -30,6 +29,10 @@ jobs:
include:
- stage: Test
env: LF_VERSION=latest
script:
- yarn run lint
- if [[ $GH_TOKEN ]]; then yarn run build && semantic-release --dry-run --branch $TRAVIS_BRANCH; fi;
- yarn test
- stage: Test
env: LF_VERSION=1.6
if: NOT type = cron
Expand Down

0 comments on commit bdc263c

Please sign in to comment.