Skip to content

Commit

Permalink
chore: always publish from build 12
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Nov 11, 2018
1 parent e41e98b commit ddb67a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts-ci/posix-script.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
echo "TEST_SUITE=$TEST_SUITE"
if [ "$TEST_SUITE" == "SHELL" ]; then
test/posix.sh && ./node_modules/.bin/travis-deploy-once "./node_modules/.bin/semantic-release"
test/posix.sh
elif [ "$TEST_SUITE" == "LINT" ]; then
npm run lint:ts && ./node_modules/.bin/travis-deploy-once "./node_modules/.bin/semantic-release"
npm run lint:ts
elif [ "$TEST_SUITE" == "UNIT" ]; then
node_modules/.bin/mocha -o test/mocha.opts && ./node_modules/.bin/travis-deploy-once "./node_modules/.bin/semantic-release"
node_modules/.bin/mocha -o test/mocha.opts && ./node_modules/.bin/travis-deploy-once -b 11 "./node_modules/.bin/semantic-release"
elif [ "$TEST_SUITE" == "ACCEPTANCE" ]; then
source ~/.nvm/nvm.sh
nvm install stable
nvm use stable
npm install
npm run build
nvm use $TRAVIS_NODE_VERSION
node dist/index.js || echo "done" && ./node_modules/.bin/travis-deploy-once "./node_modules/.bin/semantic-release"
node dist/index.js || echo "done"
else
echo "no TEST_SUITE defined"
exit 1
Expand Down

0 comments on commit ddb67a4

Please sign in to comment.