Skip to content

Commit a5fb06d

Browse files
authored
Update .travis.yml with new conda activate
1 parent a4766f6 commit a5fb06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ before_install:
2424
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
2525
fi
2626
- bash miniconda.sh -b -p $HOME/miniconda
27-
- export PATH="$HOME/miniconda/bin:$PATH"
27+
- . $HOME/miniconda/etc/profile.d/conda.sh
2828
- hash -r
2929
- conda config --set always_yes yes --set changeps1 no
3030
- conda update -q conda # get latest conda version
@@ -34,9 +34,9 @@ before_install:
3434

3535
install:
3636
- conda env create --file environment.yml
37-
- source activate cta-benchmarks
37+
- conda activate cta-benchmarks
3838

3939
after_script:
40-
- source deactivate
40+
- conda deactivate
4141

4242
#after_success:

0 commit comments

Comments
 (0)