forked from regro/cf-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (36 loc) · 1.83 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
language: generic
sudo: true
env:
global:
# Doctr deploy key for regro/cf-scripts
- secure: "BMHTWzfNVm3fgT/jvcoFcQXvJ4xbQi7vs8DluDdAUXxW0zm7TgZ+mG1VDJPCrAQXhdlxL7N73D2PeoNuPGA8wALVc00lGPrrFl6MR1a3tKI5FEE7UWxX3kQrousgd3AkCPMnmZGCYJnBBvj1SN4V3x9OCePu45tdok8T5Si/gABzPgSDAYurFp4AsG4PIrQgsrOPioSyBk6KFul0KnuH4YjW3c+SEauNqt7gjxTROHo9oUNqLuj2nUVl6fdu1LuEtCvVbFeJXtFCgTsKroNdg+4P0UmMn8HOzlLxpfeVs2llRd2eiwxJBFv7ovgmVW3YIHdT3QE8dVT0LASQdjrvx0O8n5CM+sA6gHmtiVeKi7IXihVDBsckzic08L5aKf5qbUylX9ICt2PcW308udLQe7eZIGA2xjrepDnCzAQkSxHD1qeGz0KPr+av04sekUnSMRB0UOtTAMYMXDytNTy0x5htdpoHtVMkbdmCC6ldUlnBKKinrYCO8++rwgYV128a8f6Q53GuRxW7bOIU6us4bBb1ERn9Dwkxr3Zn9rLHahJG6dGUj38Jian2uwe5p5Gh8/Tecmbd3rgLB0CwYM9pYH4NkcOXKOpTEqDIJ8U9RjPnitQbnH6cNyzbAj6c9qid2Bpu98/GR2YXIwoW7VBEmRe/P9k9TatjFJkiKnZoUbQ="
before_install:
- wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p ~/mc
- source ~/mc/etc/profile.d/conda.sh
- conda activate
- conda config --set always_yes yes
- conda config --add channels conda-forge
- conda install --quiet pip
- conda update --quiet conda --yes
- export CONDARC=ci/condarc
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- export CICLE_BUILD_URL="https://www.youtube.com/watch?v=R7qT-C-0ajI"
- conda install --quiet --file requirements/run --file requirements/test
- python -m pip install -e .
script:
- coverage run run_tests.py
- coverage report -m
- codecov -X gcov
- black --check --verbose --diff --config=pyproject.toml .
- echo "REBUILD -- TEST"
- git clone --depth 1 https://github.com/regro/cf-graph-countyfair
- git clone --depth 1 https://github.com/conda-forge/conda-forge-pinning-feedstock
- cd cf-graph-countyfair
- set -e
- cd ..
- cd docs
- make html
- cd ..
- doctr deploy . --built-docs ./docs/_build/html;