forked from Billingegroup/rg-db-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.86 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
39
40
41
42
43
language: python
env:
global:
- secure: "Sjhtn9gzLiStJq+TZ30LtID51O78GLd4+QH2YyTfviKtArTpJ7RX/Kqen3q2RM/c8MXBXzgSzzHmwTfSLVWzGJayCBPZn0rBwlD4ZjWLACRHm/m8AD684brJvh/Q/dJlMSu8Ry8SLnvaoEt8Swk9kwsSfYBR2W+ygcnGIk8bWWoBnlVDBPUwx0xItA7NBZvjKxFG7psCDP/JtIB70FYRpOEAMslX3mh/ZxvFrJM0m7NZ8kV7npWcPH5SWVJedyrhkJ1FzS238UNoaCb9i7y9gOdAG52Juyl8GqcBOyyv+jbfYEvYcPOYG/nj45HonR0GtYkMRFrcasfitPWA8y78T3FDoePSUa+WQBteN+Xn/ybvNjBU3JryyNrEf6yFqjqou2zNeQ6NMUOYq6D6RETNfl4oSPt5Bva8cVIIoWJuuSiL7XafUCRIuEcLu3DG3eDlyQ3Ctut9kAvL5MDWOvKfDLtb/3UfE2jaYdpAEvqvnn4xPj3t+xmvITtqhlKk+UCAHDqeG9DqH0SnTyrFYTbmEK8qphGTjgvR2HRyKA/m6M79Qn7T4QdI/H0Nb3y/NkuwRonV0qP3CNa7BRu/GWepyrjZQK2Apqyv9TFOZwkxf/3I1HWY0pyxNhWvC/CzJJKxxh2YwQRmkhQ92zavD3Ymew+F/SPpyvtaAVii5CsxtJ8="
matrix:
include:
- os: linux
python: 3.8
env:
- BUILD_DOCS=true
before_install:
- URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh";
wget "${URL}" -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda;
export PATH="$HOME/miniconda/bin:$PATH";
hash -r;
conda config --set always_yes yes --set changeps1 no;
conda config --add channels conda-forge;
conda update -q conda;
conda info -a;
git config --global user.email "simon.billinge@gmail.com";
git config --global user.name "Simon Billinge";
install:
- conda create -n test python=3.8
- source activate test
- conda install -c conda-forge --file https://raw.githubusercontent.com/regro/regolith/master/requirements/run.txt;
pip install git+git://github.com/regro/regolith@master;
pip install doctr
script:
- set -e
- cd local
- regolith validate
- cd ..
- git clone https://github.com/billingegroup/website.git;
cd website;
regolith build html;
cd ..;
doctr deploy --deploy-repo billingegroup/billingegroup.github.io --deploy-branch-name master --built-docs website/_build/html .;