Skip to content

Commit

Permalink
Fix CI issues.
Browse files Browse the repository at this point in the history
- Fix redirection issue when curling miniconda in ci.
- Fix shell_session_update error on OS-X ci build
  • Loading branch information
pierre-rouanet committed Jan 20, 2017
1 parent 15e205d commit a2177da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -74,6 +74,7 @@ addons:
- dvipng

before_install:
- rvm get head
- . ./ci/before_install.sh

install:
Expand Down
8 changes: 4 additions & 4 deletions ci/before_install.sh
Expand Up @@ -33,9 +33,9 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

# Use miniconda python (provide binaries for scipy and numpy on Linux)
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
curl -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
curl -L -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
else
curl -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
curl -L -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
fi
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then

Expand All @@ -48,9 +48,9 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then

# Use miniconda python (provide binaries for scipy and numpy on Linux)
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
curl -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
curl -L -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
else
curl -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
curl -L -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
fi
fi

Expand Down

0 comments on commit a2177da

Please sign in to comment.