Trying to fix more
This commit is contained in:
parent
1778ee3773
commit
999b227554
1 changed files with 2 additions and 13 deletions
15
.travis.yml
15
.travis.yml
|
|
@ -8,10 +8,6 @@ addons:
|
|||
- gcc-multilib
|
||||
- g++-multilib
|
||||
language: cpp
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- travis-fix
|
||||
compiler:
|
||||
- clang
|
||||
os:
|
||||
|
|
@ -22,13 +18,6 @@ before_script:
|
|||
script:
|
||||
- cd project && CC=clang && make all
|
||||
after_success:
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
curl --ftp-create-dirs -T ./release/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/release/yapb.so &&
|
||||
curl --ftp-create-dirs -T ./debug/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/debug/yapb.so &&
|
||||
curl -X GET "https://yapb.ru/agent/packager.php?key=$PACKAGER_KEY&os=linux"
|
||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
curl --ftp-create-dirs -T ./release/yapb.dylib -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/release/yapb.dylib &&
|
||||
curl --ftp-create-dirs -T ./debug/yapb.dylib -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/debug/yapb.dylib &&
|
||||
curl -X GET "https://yapb.ru/agent/packager.php?key=$PACKAGER_KEY&os=osx"
|
||||
fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl --ftp-create-dirs -T ./release/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/release/yapb.so && curl --ftp-create-dirs -T ./debug/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/debug/yapb.so && curl -X GET "https://yapb.ru/agent/packager.php?key=$PACKAGER_KEY&os=linux"
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl --ftp-create-dirs -T ./release/yapb.dylib -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/release/yapb.dylib && curl --ftp-create-dirs -T ./debug/yapb.dylib -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/debug/yapb.dylib && curl -X GET "https://yapb.ru/agent/packager.php?key=$PACKAGER_KEY&os=osx" fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue