.travis.yml in pycall-1.0.2 vs .travis.yml in pycall-1.0.3
- old
+ new
@@ -1,41 +1,57 @@
-sudo: false
language: ruby
+os: linux
+
+dist: trusty
+sudo: required
+
rvm:
- - ruby-head
- - 2.4.0
- - 2.3.1
- - 2.2.5
- - 2.1.10
+- ruby-head
+- 2.4.2
+- 2.3.5
+- 2.2.8
+- 2.1.10
env:
global:
- PYCALL_DEBUG_FIND_LIBPYTHON=1
matrix:
- - PYTHON=python PYENV_VERSION=system
- - PYTHON=python3 PYENV_VERSION=3.5.3 LIBPYTHON=wrong_value
- - PYENV_VERSION=3.5.3 LIBPYTHON=/opt/python/3.5.3/lib/libpython3.5m.so
+ - PYENV_VERSION=2.7.13
+ - PYENV_VERSION=3.6.2
+ - PYENV_VERSION=system LIBPYTHON=versions/3.6.2/lib/libpython3.6m.so
+ - PYENV_VERSION=miniconda2-4.1.11
+ - PYENV_VERSION=miniconda3-4.3.11
-addons:
- apt:
- packages:
- - python3
- - python3-dev
- - python3-all
- - python3-all-dev
+matrix:
+ include:
+ - os: osx
+ osx_image: xcode9
+ compiler: clang
+ rvm: 2.4.1
+ env: PYENV_VERSION=3.6.2
+ - os: osx
+ osx_image: xcode9
+ compiler: clang
+ rvm: 2.4.1
+ env: PYENV_VERSION=system LIBPYTHON=versions/3.6.2/lib/libpython3.6m.so
+ - os: osx
+ osx_image: xcode9
+ compiler: clang
+ rvm: 2.4.1
+ env: PYENV_VERSION=miniconda3-4.3.11
+ allow_failure:
+ - os: osx
before_install:
- - gem update --system
- - gem update bundler
+- gem update --system
+- gem update bundler
+- export PATH="$(pyenv root)/bin:$PATH"
+- eval "$(pyenv init -)"
-before_script:
- - bundle exec rake clobber compile
- - echo === python investigator.py ===
- - python lib/pycall/python/investigator.py
- - python3 lib/pycall/python/investigator.py
- - travis_retry pip install --user numpy
- - PYENV_VERSION=3.5.3 travis_retry pip3 install --user numpy
+install:
+- ci/travis_install.sh
-matrix:
- allow_failures:
- - env: PYTHON=python # Ignore failed on python 2.7
+before_script:
+- . ci/travis_before_script.sh
+- bundle exec rake clobber compile
+- python lib/pycall/python/investigator.py