2015-04-26 15:55:20 +02:00
|
|
|
language: python
|
2016-09-28 15:32:18 +02:00
|
|
|
|
2015-08-24 18:31:34 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GH_REF: github.com/cimatosa/jobmanager.git
|
|
|
|
- secure: Q3YVqRTs3QLspdzHgYMMuOoMypn7yetkb7v0LFe/68AwxZAwEkpCF24FHL/cEH9khc99AGbDIST81undY6kJLWLEDHYIWaoKUbC8OmaT7H6MUdfLtznsv1NnOLut9Z3So/mTMGQHCmTga9NKsuFpDMxg/oxp3wS915ar6+PLh3w=
|
2016-09-28 15:32:18 +02:00
|
|
|
|
2015-05-12 11:01:47 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-09-28 15:32:18 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
|
2015-04-26 15:49:36 +02:00
|
|
|
python:
|
2018-06-28 15:13:21 +02:00
|
|
|
- '3.6'
|
2016-09-28 15:32:18 +02:00
|
|
|
|
2015-04-26 15:55:20 +02:00
|
|
|
before_install:
|
2016-09-28 23:14:23 +02:00
|
|
|
- sudo apt-get install libhdf5-openmpi-dev
|
|
|
|
- pip install numpy
|
2016-09-28 23:18:13 +02:00
|
|
|
- pip install scipy
|
|
|
|
- pip install psutil
|
2016-09-28 23:14:23 +02:00
|
|
|
- pip install sqlitedict
|
|
|
|
- pip install h5py
|
|
|
|
- pip install pytest pytest-cov
|
2016-09-30 23:49:35 +02:00
|
|
|
- git clone https://github.com/cimatosa/progression.git progress_package
|
|
|
|
- ln -s progress_package/progression
|
2016-09-28 23:14:23 +02:00
|
|
|
- git clone https://github.com/cimatosa/binfootprint.git binfootprint_package
|
|
|
|
- ln -s binfootprint_package/binfootprint
|
|
|
|
- git clone https://github.com/cimatosa/persistentdata.git persistentdata_package
|
|
|
|
- ln -s persistentdata_package/persistentdata
|
|
|
|
|
|
|
|
|
2015-04-26 15:49:36 +02:00
|
|
|
script:
|
2016-09-28 23:53:18 +02:00
|
|
|
- py.test tests/ -v --cov=jobmanager --cov-report term-missing
|
2016-09-28 23:14:23 +02:00
|
|
|
|
2015-08-24 18:31:34 +02:00
|
|
|
after_success:
|
2016-09-28 23:14:23 +02:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|