Skip to content

Commit

Permalink
Merge pull request #120 from bluescarni/travis_fixes
Browse files Browse the repository at this point in the history
Another try at travis fixes.
  • Loading branch information
bluescarni authored Jun 8, 2017
2 parents 22f35db + 9436e12 commit f904e42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ matrix:
script:
- mkdir build
- cd build
- source ../tools/install_deps.sh
- source ../tools/install_travis.sh
- bash ../tools/install_deps.sh
- bash ../tools/install_travis.sh

notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion tools/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ if [[ "${PAGMO_BUILD}" != manylinux* ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
fi
export deps_dir=$HOME/local
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
bash miniconda.sh -b -p $HOME/miniconda
conda config --add channels conda-forge --force

conda_pkgs="boost>=1.55 cmake>=3.2 eigen nlopt ipopt"
Expand Down
2 changes: 2 additions & 0 deletions tools/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -x
set -e

if [[ "${PAGMO_BUILD}" != manylinux* ]]; then
export deps_dir=$HOME/local
export PATH="$HOME/miniconda/bin:$PATH"
export PATH="$deps_dir/bin:$PATH"
fi

Expand Down

0 comments on commit f904e42

Please sign in to comment.