Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,13 @@ notifications:
email: false
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- git remote rm origin
- git remote add origin https://${GH_TOKEN}@github.com/lokesh-coder/pretty-checkbox.git
- 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
git fetch && git checkout master;
git config push.default current;
fi'
after_success:
- 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
npm run ci;
npm run release;
npm run release -- --branch *;
npm publish --access=public;
npm run log;
fi'

branches:
only:
- staging
Expand Down