-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (31 loc) · 859 Bytes
/
.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
# -*- coding: utf-8 -*-
# Config file for automatic building at travis-ci.org
language: python
sudo: false
python:
- 3.12
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/xraysloth
- export PATH="$HOME/xraysloth/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
install:
- conda create -q -n sloth python=$TRAVIS_PYTHON_VERSION
- source activate sloth
- conda install pip
- pip install -r binder/requirements-rtd.txt
- pip install .
script:
- cd docs && make html
deploy:
provider: pages
skip-cleanup: true
keep-history: true
on:
branch: master
github-token: $GITHUB_TOKEN
local-dir: docs/build/html
committer-from-gh: true