mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-01 12:50:05 +08:00
18 lines
514 B
YAML
18 lines
514 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
virtualenv:
|
|
system_site_packages: true
|
|
before_install:
|
|
- sudo apt-get install -qq python-numpy python-scipy python-matplotlib
|
|
- cd ../
|
|
- git clone https://github.com/simpeg/simpeg.git
|
|
- python simpeg/SimPEG/setup.py
|
|
- echo export PYTHONPATH=$PYTHONPATH:/home/travis/build/simpeg/simpeg >> .bashrc
|
|
- source .bashrc
|
|
- cd simpegdc
|
|
# command to install dependencies
|
|
install: "pip install -r requirements.txt --use-mirrors"
|
|
# command to run tests
|
|
script: nosetests -v
|