Skip to content

Commit

Permalink
Wip travis
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchmitz committed Feb 20, 2019
1 parent dca1fc7 commit 60ae5e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -15,6 +15,7 @@ matrix:
include:
- name: "Linux; gcc 5.4; debug"
os: linux
python: "3.6"
addons:
apt:
sources:
Expand All @@ -25,6 +26,7 @@ matrix:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- TRAVIS_BUILD_TYPE=Debug
- TRAVIS_CMAKE_GENERATOR="Unix Makefiles"
- TRAVIS_PYTHON_VERSION=3.6
before_install:
- ./environment/travis/linux/before_install.sh
install:
Expand All @@ -37,6 +39,7 @@ matrix:

- name: "Linux; gcc 8; release"
os: linux
python: "3.6"
addons:
apt:
sources:
Expand All @@ -47,6 +50,7 @@ matrix:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- TRAVIS_BUILD_TYPE=Release
- TRAVIS_CMAKE_GENERATOR="Unix Makefiles"
- TRAVIS_PYTHON_VERSION=3.6
before_install:
- ./environment/travis/linux/before_install.sh
install:
Expand Down
4 changes: 2 additions & 2 deletions environment/travis/script.sh
Expand Up @@ -5,8 +5,8 @@ set -v

echo $CC
echo $CXX
python --version
python -c "import numpy as n; print(n.__version__); print(n.get_include());"
python$TRAVIS_PYTHON_VERSION --version
python$TRAVIS_PYTHON_VERSION -c "import numpy as n; print(n.__version__); print(n.get_include());"

cd $TRAVIS_BUILD_DIR/build
cmake --build . --config ${TRAVIS_BUILD_TYPE} --target all -- -j2
Expand Down

0 comments on commit 60ae5e0

Please sign in to comment.