Update .travis.yml and setup_variables.sh
This commit is contained in:
parent
e62eb79596
commit
fc02e0ad63
@ -30,6 +30,8 @@ addons:
|
|||||||
- php
|
- php
|
||||||
- cmake
|
- cmake
|
||||||
- g++
|
- g++
|
||||||
|
- clang
|
||||||
|
- libc++-dev
|
||||||
- ccache
|
- ccache
|
||||||
- maven
|
- maven
|
||||||
- python3
|
- python3
|
||||||
|
@ -39,6 +39,9 @@ elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|||||||
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA"
|
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA"
|
||||||
export JAVA_INCLUDE_PATH="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/include"
|
export JAVA_INCLUDE_PATH="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/include"
|
||||||
export CPU_CORES=" -- -j${CPU_CORES_NUM}"
|
export CPU_CORES=" -- -j${CPU_CORES_NUM}"
|
||||||
|
export CXXFLAGS="-stdlib=libc++"
|
||||||
|
export CC="/usr/bin/clang"
|
||||||
|
export CXX="/usr/bin/clang++"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ====== Print variables
|
# ====== Print variables
|
||||||
|
Loading…
Reference in New Issue
Block a user