forked from Samreay/ChainConsumer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (58 loc) · 2.16 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: python
os: linux
python:
- "3.8"
- "3.7"
env:
global:
- GH_REF: github.com/samreay/ChainConsumer.git
dist: xenial
services:
- xvfb
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- conda config --set always_yes yes --set changeps1 no --set anaconda_upload no
- conda update -q conda
- conda install python=$TRAVIS_PYTHON_VERSION pip setuptools
- sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended dvipng cm-super
- hash -r
- pip install wheel twine
- pip install .
- pip install -r requirements.txt
- ulimit -s unlimited
script:
- py.test --cov=chainconsumer -vv
after_success:
- codecov
- chmod u+x deploy.sh
- ./deploy.sh
- chmod +x conda/deploy_anaconda.sh
deploy:
- provider: script
script: ./conda/deploy_anaconda.sh
skip_cleanup: true
on:
python: 3.8
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9,\.]*$
- provider: pypi
user: "samreay"
password:
secure: "etRu952bkCozacIuC38kgsr5Ul05QG5lY1ESrC50El0fdQjimCeDqislB8buYyD+TeXfPY4jN10ApFfYzTJGfVFsM5NLE/T6+UBfCx3h07jN5ewA9jY5LDKaP5UJ+e33NrC+vkvsxoB5BJzwtbmrj6TDM9/s8RxsIZYFpZ+PoJxO/S7g2d6g1kCkbG2Q/2PpWa4VRacS29CAlBkeDY6z7ZCLEnpK0733ccQPxNfbdmAsXdHnk1cLWA5FNzbp5Vjti/tet6Wv8aVgw1RgSSN3HQ/5hl/uDgmGlloHvXDAK7xdtEo0R5y9mR4cfVJOxARweLBS84bPEysI+N7VoOAQkrBRxL85YHtuFBBiQdGMQazG8M/FhO0aeyMj1KJM1yaLj8lQJN+9qeIrtagV1LkAW9kzWvE4NOCPah4LGy2NvgJ0L7F8Kmgk2ReAZ3FfbfGyoISg/iqGBwDTjYH0GtXc3DYswpKylkpdpkcCh13usyVYxoHUJ+pT594vNJrNk6qQof6PVUiBldXkoWofoJGgASUh6r1gbcK/qlgD+sOCRyQ7zH5N8H/0ecnEC+io178r/5NioVfmsNBS4izJQPVzdUb3bB3jDjMwOU+yO/amD0V9Te9ctqDJL8cWmBwj0UsKunpZ2qbWfPUwtNS9/ehHH8RElJv8IKuj+j/md91KQy0="
skip_cleanup: true
edge:
branch: v1.8.45
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9,\.]*$
python: 3.8
- provider: releases
api_key: "${GITHUB_API_KEY2}"
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9,\.]*$
python: 3.8