Skip to content

Commit

Permalink
Travis: export CC during before_install stage
Browse files Browse the repository at this point in the history
Signed-off-by: James Noss <jnoss@stsci.edu>
  • Loading branch information
jamienoss committed Oct 25, 2018
1 parent e0f741d commit 47072a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Expand Up @@ -153,6 +153,17 @@ matrix:
CONDA_DEPENDENCIES=$CONDA_ALL_DEPENDENCIES
MATPLOTLIB_VERSION=dev

before_install:

# We need to use CCOMPILER otherwise Travis overwrites CC if we define it
# in env: above.
- if [ ! -z $CCOMPILER ]; then
export CC=$CCOMPILER;
fi

# Check CC variable
- echo $CC

install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
Expand Down

0 comments on commit 47072a2

Please sign in to comment.