We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ec06b commit ba02a67Copy full SHA for ba02a67
.travis.yml
@@ -9,24 +9,13 @@ notifications:
9
email: false
10
before_install:
11
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
12
-before_script:
13
- - export DISPLAY=:99.0
14
- - sh -e /etc/init.d/xvfb start
15
- - sleep 3
16
- - git remote rm origin
17
- - git remote add origin https://${GH_TOKEN}@github.com/lokesh-coder/pretty-checkbox.git
18
- - 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
19
- git fetch && git checkout master;
20
- git config push.default current;
21
- fi'
22
after_success:
23
- 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
24
npm run ci;
25
- npm run release;
+ npm run release -- --branch *;
26
npm publish --access=public;
27
npm run log;
28
fi'
29
-
30
branches:
31
only:
32
- staging
0 commit comments