Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] testing travis windows again #184

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
dist: xenial

language: r

r: release
language: minimal

matrix:
include:
- os: linux
env: PYENV=py37
- os: osx
env: PYENV=py37
# turn these on once travis support gets a little better, see pyam for example
# - os: windows
# - os: linux
# env: PYENV=py37

r_packages:
- IRkernel
# - os: osx
# env: PYENV=py37
# turn these on once travis support gets a little better, see pyam for example
- os: windows
env: PYENV=py37

cache:
# Travis ensures these directories are created if they do not already exist
Expand All @@ -40,15 +35,13 @@ before_install:
install:
- source ci/travis-install.sh
- pip install .[docs,tests,tutorial]
- Rscript -e 'devtools::install("rixmp", dep = T)'

script:
- python -c "import os, sys; assert os.environ['PYVERSION'] == sys.version[0]"
# Run tests
# These include the equivalent of Travis R tests via test_r.py
- >
pytest
--testr
--verbose
--cov=ixmp
--cov-config ci/.coveragerc
Expand Down