-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (40 loc) · 887 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
38
39
40
language: python
sudo: false
python:
- '3.5'
before_install:
- openssl aes-256-cbc -K $encrypted_c77138175719_key -iv $encrypted_c77138175719_iv
-in .onshapepy.enc -out $HOME/.onshapepy -d
- export NOKOGIRI_USE_SYSTEM_LIBRARIES=true
addons:
apt:
packages:
- libcurl4-openssl-dev
install:
- pip install pipenv
- pipenv install --dev
- gem install html-proofer
script:
- pipenv run pytest --cov=./
- cd docs
- pipenv run make html
- pipenv run make doctest
- htmlproofer _build/html --allow_hash_href --file_ignore "_build/html/search.html"
- cd ..
after_success:
- pipenv run codecov
deploy:
- provider: pypi
user: "$PYPI_USERNAME"
password: "$PYPI_PASSWORD"
on:
tags: true
distributions: sdist
- provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
local-dir: docs/_build/html
target-branch: gh-pages
on:
tags: true