forked from regro/regolith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 1.58 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
sudo: False
env:
global:
- secure: "Ix5OqT8HIbGUSx3ZTW/RJxnP6byxnR6t7poGp4iiNRUQekGdPogf8Os8irMZZPSAWaAkya/Q83kqAoWhS8r0am9ij6JyfzSTn6G14afdSu6CyggUrmD5QGeYp2V/SValJFrkwxSWQiGov0MRMbeG8HMIPOaOwjs1j4soVWEE8X/I1ha/d3oNRDB9OaO+5k/DAxJCGWnmHcZVibFN9opjP0/U2Rio6mk6sGCioAmBLXvpyxr1upmbKeS7K+vLwniED6cbRVc6UmdHkFZp0mBW6F3dN830mmh7A9u0wEC1gYpHpZ0daD3Ky8xQhDHX5J6ibH5lnKeCbtI1AkuiFBpUuVhpcbT7tr6jNwPq9Ywbv/fAwv7g3AxWx2gmZsgkVZIEy3bBdQSJhRO10NT5QRs2YSCws+iPTDJQxX+V1FZ4M/aH5zyWO2EdZ5tnsvF2NzgJkt08gl6fiMm5DYwXOIolSNomW+EzrzhYeVWaNw+dfRQlT3PwWXkDcH0Sb9uut6qc71Px+GJM5CbCfNy7nIcKfGPNi8Qaj/4WVmvRROGS+bkjGBpk+Qe+pe7+aV8ExqTGjpQEnHlSt82ypoSS5NTKWL5nSXZOHKauaMQmbWb0FDShzpJdMLA63jSoqWu+YEBfoiHPqWBK5bvV+u4GHmVw1SBTjZd6Ismo6sH/3zTa5Qc="
install:
# Install conda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update conda
# Install dependencies
- conda create -n test --file requirements/run.txt python=3
- source activate test
- python setup.py install
script:
- set -e
- conda install --file requirements/test.txt
- #python -m pytest
- coverage run run_tests.py
- coverage report -m
- codecov
- # Command to build your docs
- conda install doctr
- conda install --file requirements/doc.txt
- cd docs
- make html
- cd ..
- doctr deploy . --deploy-repo ergs/regolith-docs --built-docs ./docs/_build/html
notifications:
email: false