Skip to content

Commit

Permalink
Adapt travis configuration in order to get Swig and mpi4py (both are …
Browse files Browse the repository at this point in the history
…required for the Python wrapper test cases).
  • Loading branch information
tobadavid committed Aug 11, 2016
1 parent 1898d17 commit 62d2c6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ env:
BUILD_DIR=$TRAVIS_BUILD_DIR/SU2
matrix:
# Serial build and test
- CONFIGURE_COMMAND="./configure --prefix=$BUILD_DIR"
- CONFIGURE_COMMAND="./configure --prefix=$BUILD_DIR --enable-PY_WRAPPER"
TEST_SCRIPT=serial_regression.py
# Parallel build and test
- CONFIGURE_COMMAND="./configure --enable-mpi --with-cc=mpicc --with-cxx=mpicxx --prefix=$BUILD_DIR"
- CONFIGURE_COMMAND="./configure --enable-mpi --with-cc=mpicc --with-cxx=mpicxx --prefix=$BUILD_DIR --enable-PY_WRAPPER"
TEST_SCRIPT=parallel_regression.py

before_install:
# install the necessary packages
- sudo apt-get update -qq
- sudo apt-get install -qq python-numpy python-scipy mpich2
- sudo apt-get install -qq python-numpy python-scipy python-pip mpich2 swig
# Move all of the test data for easier copying into the SU2 repo
- mkdir TestData
- shopt -s extglob
Expand All @@ -41,6 +41,7 @@ before_install:
- git checkout develop

install:
- sudo pip install mpi4py
- echo $BUILD_DIR
- echo $CONFIGURE_COMMAND
- $CONFIGURE_COMMAND
Expand Down

0 comments on commit 62d2c6e

Please sign in to comment.