mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-13 16:40:22 +08:00
29 lines
791 B
YAML
29 lines
791 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
virtualenv:
|
|
system_site_packages: true
|
|
before_install:
|
|
- sudo apt-get install -qq gcc gfortran libblas-dev liblapack-dev python-numpy python-scipy python-matplotlib python-pip
|
|
- sudo pip install scipy --upgrade
|
|
- sudo pip install numpy --upgrade
|
|
- cd ../
|
|
- git clone https://github.com/simpeg/simpeg.git
|
|
- cd simpeg/SimPEG/
|
|
- python setup.py
|
|
- cd ../../
|
|
- echo export PYTHONPATH=$PYTHONPATH:/home/travis/build/simpeg/simpeg >> .bashrc
|
|
- source .bashrc
|
|
- cd simpegem
|
|
# command to install dependencies
|
|
install: "pip install -r requirements.txt --use-mirrors"
|
|
# command to run tests
|
|
script: nosetests -v
|
|
|
|
notifications:
|
|
email:
|
|
- rowanc1@gmail.com
|
|
- dwfmarchant@gmail.com
|
|
- sgkang09@gmail.com
|
|
- lindseyheagy@gmail.com
|