mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-09 00:20:23 +08:00
24 lines
716 B
YAML
24 lines
716 B
YAML
language: python
|
|
python:
|
|
- 2.7
|
|
|
|
# Setup anaconda
|
|
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/miniconda/bin:$PATH
|
|
- conda update --yes conda
|
|
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
|
|
- sudo rm -rf /dev/shm
|
|
- sudo ln -s /run/shm /dev/shm
|
|
|
|
# Install packages
|
|
install:
|
|
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose dateutil pandas statsmodels requests requests six scikit-image
|
|
- python setup.py install
|
|
|
|
# Run test
|
|
script:
|
|
- nosetests -w ./tests/remote
|
|
|