ENH: move travis support scripts to .travis_scripts

Move the build support scripts for travis to a hidden
subdirectory to keep the top level directory more
clean.
This commit is contained in:
Hans Johnson
2019-01-12 08:54:50 -06:00
committed by Hans Johnson
parent fa61a49b83
commit 10a1a38b37
6 changed files with 7 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
set -vex
wget https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip
unzip -q ninja-linux.zip -d build
pip3 install meson
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
if [[ $CXX = g++ ]]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
# /usr/bin/clang has a conflict with gcc, so use clang-X.Y.
if [[ $CXX = clang++ ]]; then export CXX="clang++-3.5" CC="clang-3.5"; fi
echo ${PATH}
ls /usr/local
ls /usr/local/bin
export PATH="${PWD}"/build:/usr/local/bin:/usr/bin:${PATH}