Split build steps

This commit is contained in:
Oleksii Shevchuk 2017-07-03 10:20:21 +03:00
parent 602817e178
commit 89d7061aaa
1 changed files with 5 additions and 3 deletions

View File

@ -21,8 +21,10 @@ before_script:
- if [ -f $HOME/.cache/android.tgz ]; then tar -C $HOME -zxf $HOME/.cache/android.tgz; fi - if [ -f $HOME/.cache/android.tgz ]; then tar -C $HOME -zxf $HOME/.cache/android.tgz; fi
script: script:
- cd $TRAVIS_BUILD_DIR/client/android_sources && ./build.sh - cd $TRAVIS_BUILD_DIR/client/android_sources && ./build.sh
- cd $TRAVIS_BUILD_DIR/client/sources && ./buildenv.sh && ./build.sh - cd $TRAVIS_BUILD_DIR/client/sources && ./buildenv.sh
- cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./buildenv.sh && sudo -E ./build.sh - cd $TRAVIS_BUILD_DIR/client/sources && ./build.sh
- cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./buildenv.sh
- cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./build.sh
before_cache: before_cache:
- tar -C $TRAVIS_BUILD_DIR/client/sources -zcf $HOME/.cache/win.tgz buildenv - tar -C $TRAVIS_BUILD_DIR/client/sources -zcf $HOME/.cache/win.tgz buildenv
- sudo -E tar -C $TRAVIS_BUILD_DIR/client/sources-linux -zcf $HOME/.cache/lin.tgz buildenv - sudo -E tar -C $TRAVIS_BUILD_DIR/client/sources-linux -zcf $HOME/.cache/lin.tgz buildenv