1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

[travis] Update

This commit is contained in:
zhengxie 2018-08-10 15:29:49 +08:00
parent 786c858938
commit 127e7f949a
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,11 @@
language: python
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
env:
global:
- CCNET_CONF_DIR=/tmp/ccnet SEAFILE_CONF_DIR=/tmp/seafile-data
@ -29,10 +35,10 @@ script:
after_success:
# notify seafile-docs to rebuild if current branch(6.3) is updated
- test $TRAVIS_PULL_REQUEST != "false" && test $TRAVIS_BRANCH = "6.3" && .travis/rebuild-branches.sh
- test $TRAVIS_PULL_REQUEST = "false" && test $TRAVIS_BRANCH = "6.3" && .travis/rebuild-branches.sh
# making dist assets if current branch(master/6.3/6.2) is updated
- test $TRAVIS_PULL_REQUEST != "false" && .travis/dist_and_push.sh
- test $TRAVIS_PULL_REQUEST = "false" && .travis/dist_and_push.sh
after_failure: true

View File

@ -9,6 +9,6 @@ curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: ${TRAVIS_API_ACCESS_TOKEN}" \
-H "Authorization: token ${TRAVIS_API_ACCESS_TOKEN}" \
-d "$body" \
https://api.travis-ci.org/repo/haiwen%2Fseahub/requests