Skip to content

Commit

Permalink
ci testing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeeren committed Nov 19, 2015
1 parent cb88407 commit 9c77a2e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python: '3.5'
env:
global:
LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
TOX_USE_SITEPACKAGES=true
matrix:
- TOXENV=check
- TOXENV=2.7,extension-coveralls,coveralls,codecov
Expand All @@ -14,11 +15,13 @@ env:
- TOXENV=3.5,extension-coveralls,coveralls,codecov
- TOXENV=3.5-nocover
before_install:
- sudo apt-get install gfortran
- python --version
- uname -a
- lsb_release -a
install:
- sudo apt-get install python-numpy gfortran
# test that building works before long numpy install
- python setup.py clean --all build_ext --force --inplace
- pip install tox
- virtualenv --version
- easy_install --version
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cache:
environment:
global:
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
TOX_USE_SITEPACKAGES: true
matrix:
- TOXENV: check
PYTHON_HOME: C:\Python27
Expand Down Expand Up @@ -65,6 +66,10 @@ install:
- '%PYTHON_HOME%\Scripts\easy_install --version'
- '%PYTHON_HOME%\Scripts\pip --version'
- '%PYTHON_HOME%\Scripts\tox --version'
# test that building works before long numpy install
- dir C:\Miniconda-x64\Scripts
- C:\Miniconda-x64\python install numpy
- C:\Miniconda-x64\python setup.py clean --all build_ext --force --inplace
test_script:
- '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'

Expand Down
5 changes: 4 additions & 1 deletion ci/templates/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ python: '3.5'
env:
global:
LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
TOX_USE_SITEPACKAGES=true
matrix:
- TOXENV=check
{% for env, config in tox_environments|dictsort %}
- TOXENV={{ env }}{% if config.cover %},extension-coveralls,coveralls,codecov{% endif %}

{% endfor %}
before_install:
- sudo apt-get install gfortran
- python --version
- uname -a
- lsb_release -a
install:
- sudo apt-get install python-numpy gfortran
# test that building works before long numpy install
- python setup.py clean --all build_ext --force --inplace
- pip install tox
- virtualenv --version
- easy_install --version
Expand Down
5 changes: 5 additions & 0 deletions ci/templates/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cache:
environment:
global:
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
TOX_USE_SITEPACKAGES: true
matrix:
- TOXENV: check
PYTHON_HOME: C:\Python27
Expand Down Expand Up @@ -41,6 +42,10 @@ install:
- '%PYTHON_HOME%\Scripts\easy_install --version'
- '%PYTHON_HOME%\Scripts\pip --version'
- '%PYTHON_HOME%\Scripts\tox --version'
# test that building works before long numpy install
- dir C:\Miniconda-x64\Scripts
- C:\Miniconda-x64\python install numpy
- C:\Miniconda-x64\python setup.py clean --all build_ext --force --inplace
test_script:
- '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'

Expand Down
1 change: 1 addition & 0 deletions ci/templates/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ passenv =
deps =
pytest
pytest-capturelog
sitepackages={env:TOX_USE_SITEPACKAGES:false}
commands =
python setup.py clean --all build_ext --force --inplace
{posargs:py.test -vv --ignore=src --doctest-glob='*.rst'}
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ passenv =
deps =
pytest
pytest-capturelog
sitepackages={env:TOX_USE_SITEPACKAGES:false}
commands =
python setup.py clean --all build_ext --force --inplace
{posargs:py.test -vv --ignore=src --doctest-glob='*.rst'}
Expand Down

0 comments on commit 9c77a2e

Please sign in to comment.