diff --git a/.travis.yml b/.travis.yml index 1692e536a..b051e52ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,24 +11,25 @@ before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start +on: + branch: master + tags: true + +after_script: + - npm run coveralls + cache: directories: - node_modules jobs: include: - - stage: "Test" - branches: - only: master - after_script: - - npm run coveralls - - stage: "NPM publish" - on: - tags: true script: skip - script: echo "Deploying to NPM ..." deploy: provider: npm - email: "simonguo.2009@gmail.com" + email: "leishenghao@126.com" api_key: $NPM_AUTH_TOKEN + skip_cleanup: true + on: + tags: true diff --git a/package.json b/package.json index 0cc31f5a1..44dab7c45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rsuite", - "version": "3.0.3", + "version": "3.0.4-travis3", "description": "A suite of react components", "main": "lib/index.js", "directories": {