Skip to content

Commit

Permalink
Merge pull request #65 from mtezzele/travis
Browse files Browse the repository at this point in the history
update to py37
  • Loading branch information
mtezzele committed Apr 15, 2021
2 parents c3c8780 + 81a8159 commit 94cb314
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sudo: true
dist: trusty
dist: xenial

language: python

Expand All @@ -8,12 +8,12 @@ service: docker
jobs:
include:
- os: linux
python: 3.6
env: TOXENV=py36
python: 3.7
env: TOXENV=py37
- os: osx
osx_image: xcode12.2
language: generic
osx_image: xcode11.2
env: TOXENV=py36
env: TOXENV=py37

before_script:
- "export DISPLAY=:99.0"
Expand All @@ -27,8 +27,7 @@ before_install:
# version is the same.
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
else
brew update;
brew install python;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
Expand All @@ -48,15 +47,14 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
conda create --yes -n test python=$TRAVIS_PYTHON_VERSION;
else
conda create --yes -n test python="3.6";
conda create --yes -n test python="3.7";
fi
- source activate test
- echo $LD_LIBRARY_PATH
- echo $DYLD_LIBRARY_PATH
- echo $PATH
- python --version
- conda install --yes numpy scipy matplotlib pip nose sip=4.18
- conda install --yes -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core=7.4.0 smesh python=3.6;
- pip install setuptools
- pip install enum34
- pip install coveralls
- conda install --yes -c conda-forge pythonocc-core=7.4.0 smesh numpy scipy matplotlib pip nose sip=4.18 setuptools coveralls python=3.7;
- python setup.py install

script:
Expand Down

0 comments on commit 94cb314

Please sign in to comment.