OLD | NEW |
1 language: cpp | 1 language: cpp |
2 | 2 |
3 os: | 3 os: |
4 - linux | 4 - linux |
5 - osx | 5 - osx |
6 | 6 |
7 dist: trusty | 7 dist: trusty |
8 sudo: false | 8 sudo: false |
9 | 9 |
10 addons: | 10 addons: |
(...skipping 16 matching lines...) Expand all Loading... |
27 matrix: | 27 matrix: |
28 - BUILD_ACTION=test | 28 - BUILD_ACTION=test |
29 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm | 29 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm |
30 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm64 | 30 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm64 |
31 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=ia32 | 31 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=ia32 |
32 | 32 |
33 before_script: | 33 before_script: |
34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | 34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi |
35 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi | 35 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi |
36 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi | 36 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi |
37 - bash .travis/prepare-prebuilt-v8.sh | 37 - make get-prebuilt-v8 |
38 - ./ensure_dependencies.py | 38 - ./ensure_dependencies.py |
39 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "linux" ]]; then w
get https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -
O third_party/android-ndk.zip ; fi | 39 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "linux" ]]; then w
get https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -
O third_party/android-ndk.zip ; fi |
40 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "osx" ]]; then wge
t https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip -O
third_party/android-ndk.zip ; fi | 40 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "osx" ]]; then wge
t https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip -O
third_party/android-ndk.zip ; fi |
41 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk.
zip -d third_party/ ; fi | 41 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk.
zip -d third_party/ ; fi |
42 | 42 |
43 script: | 43 script: |
44 - make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8/ LIBV8_INCLUDE
_DIR=third_party/prebuilt-v8/include | 44 - make ${BUILD_ACTION} |
45 | 45 |
46 notifications: | 46 notifications: |
47 email: false | 47 email: false |
OLD | NEW |