mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-17 11:32:59 +08:00
Add Travis File
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user