Skip to content
Snippets Groups Projects
Commit 24fb6bad authored by Stephan Kuschel's avatar Stephan Kuschel
Browse files

update .travis.yml

add cython>=0.18 dep

travis container based infrastructure

remove --user in pip install

use miniconda2 to install dependencies

use before script section
parent 32ce3fa8
Branches
Tags
No related merge requests found
......@@ -2,26 +2,34 @@
# http://lint.travis-ci.org/
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
# Install conda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose pandas statsmodels cython
- pip install -r pip-requirements.txt
- pip install -e .
- python setup.py install
before_script:
- uname -a
- free -m
- df -h
- ulimit -a
- python -V
virtualenv:
system_site_packages: true
# command to install dependencies
install:
- sudo apt-get update -qq
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get install python-matplotlib python-scipy cython gcc; fi
- cython --version
- pip install -r pip-requirements.txt
# run tests
script:
......
......@@ -3,4 +3,4 @@
mock
pep8
nose
-e .
cython>=0.18
......@@ -29,7 +29,8 @@ setup(name='postpic',
ext_modules = cythonize("postpic/cythonfunctions.pyx"),
include_dirs = [numpy.get_include()],
license='GPLv3+',
install_requires=['matplotlib', 'numpy>=1.7', 'scipy', 'cython'],
setup_requires=['cython>=0.18'],
install_requires=['matplotlib', 'numpy>=1.7', 'scipy', 'future'],
keywords = ['PIC', 'particle-in-cell', 'plasma', 'physics', 'plasma physics',
'laser', 'laser plasma', 'particle acceleration'],
classifiers=[
......@@ -42,6 +43,7 @@ setup(name='postpic',
'Topic :: Scientific/Engineering :: Visualization',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Operating System :: Unix',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment