Skip to content

Commit

Permalink
update travis yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EhsanGharibNezhad committed Nov 27, 2023
1 parent b3ab1c9 commit d73ab78
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# .travis.yml
language: python

python:
- 3.9

Expand All @@ -11,23 +10,24 @@ jobs:
name: "macOS: Conda env and pip TelescopeML"
os: osx
before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
install:
- conda create -q -n test python=3.9
- source activate test
- pip install TelescopeML
script:
- python setup.py develop


#
# - stage: "Test on Linux with conda env and requirements.txt"
# name: "Test on Linux with conda env and requirements.txt"
Expand Down

0 comments on commit d73ab78

Please sign in to comment.