mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-16 14:08:12 +00:00
[travis] Update
This commit is contained in:
parent
786c858938
commit
127e7f949a
10
.travis.yml
10
.travis.yml
@ -1,5 +1,11 @@
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
|
before_cache:
|
||||||
|
- rm -f $HOME/.cache/pip/log/debug.log
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CCNET_CONF_DIR=/tmp/ccnet SEAFILE_CONF_DIR=/tmp/seafile-data
|
- CCNET_CONF_DIR=/tmp/ccnet SEAFILE_CONF_DIR=/tmp/seafile-data
|
||||||
@ -29,10 +35,10 @@ script:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# notify seafile-docs to rebuild if current branch(6.3) is updated
|
# 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
|
# 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
|
after_failure: true
|
||||||
|
|
||||||
|
@ -9,6 +9,6 @@ curl -s -X POST \
|
|||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
-H "Travis-API-Version: 3" \
|
-H "Travis-API-Version: 3" \
|
||||||
-H "Authorization: ${TRAVIS_API_ACCESS_TOKEN}" \
|
-H "Authorization: token ${TRAVIS_API_ACCESS_TOKEN}" \
|
||||||
-d "$body" \
|
-d "$body" \
|
||||||
https://api.travis-ci.org/repo/haiwen%2Fseahub/requests
|
https://api.travis-ci.org/repo/haiwen%2Fseahub/requests
|
||||||
|
Loading…
Reference in New Issue
Block a user