forked from pycroscopy/pycroscopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (60 loc) · 3.91 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
language: python
python:
- '3.6'
- '2.7'
- '3.5'
- '3.7'
before_install:
- sudo apt-get update -qq
# Using pip to install instead of setup.py for now to fix numba issue.
#install: python setup.py install
dist: xenial
sudo: true
install: pip install .
script: pytest
stages:
- name: after_success
if: env(python) = "3.6"
after_success:
- pip install sphinx sphinx-gallery sphinx-rtd-theme numpydoc wget pysptools cvxopt
- sphinx-build -b html -aET docs docs/_build/html
- touch docs/_build/html/.nojekyll
before_deploy:
- python setup.py sdist
- python setup.py bdist_wheel
deploy:
# Github pages deployment
- provider: pages
skip_cleanup: true
github_token:
secure: mjVrbUqrp3ODpQVoVVV6ZCA7M4VBlI3AWRRO1cZBoQQBrMMu0Dzwkqq+b3qSabHspAJsoHmzq337CgPL8sA32x0BESO0EOTHaxEvL8FvmLwQ9av51C2rbzoGdZAKmiRIvwNLUpPHRitGuE165cR+dm52kjwFLzA9khBjR3Mzr8E517QBsTpZms3O3//Ifc/0E/ksfcd+/MfGP8PIf8v8HyqCJsQYU6j8gGXSvBed72pZ/uT7byjqII7RHi0/e0xsfenswkEqNhMzgjt8WMC7iXpRqTKw2A7+HQNvGMtfSI28iiO5qWVTDncsYol2Er22LJg3CJmk367E9XT70eyriizgubYba/gM3f1/wNspvXqWh94R3S0+Af5afa5pfrRpOoNXqFO7zeTWlEyF5YUPUAY/tgxKYNO3wXxlaOjHBBz8Csu/e6v/Enq1evW1MyuU1ShUFj8q9oJiQMXtfLHnorX0plu69hSkeJwpQoY+2Z1xYtl3EkhpXJ0bYKoch5ijFTRJhQErtGQRBSuqkeSGpYQipnAfyVoe5zKdvFMruWP5SxmUK4HFWtonie6a9AADy6nHd6VKDL0LRzDfpkTu8XVArQSBBIQrEdNObMztJ2SWgnuu6m0hnED8y4VoLMVgRB4vSpv3UTdiiZcg4AMo7fbZ3CtczsE80p7INrxhAvw=
local_dir: docs/_build/html
on:
branch: master
python: 3.6
# Github releases deployment
- provider: releases
skip_cleanup: true
api_key:
secure: mjVrbUqrp3ODpQVoVVV6ZCA7M4VBlI3AWRRO1cZBoQQBrMMu0Dzwkqq+b3qSabHspAJsoHmzq337CgPL8sA32x0BESO0EOTHaxEvL8FvmLwQ9av51C2rbzoGdZAKmiRIvwNLUpPHRitGuE165cR+dm52kjwFLzA9khBjR3Mzr8E517QBsTpZms3O3//Ifc/0E/ksfcd+/MfGP8PIf8v8HyqCJsQYU6j8gGXSvBed72pZ/uT7byjqII7RHi0/e0xsfenswkEqNhMzgjt8WMC7iXpRqTKw2A7+HQNvGMtfSI28iiO5qWVTDncsYol2Er22LJg3CJmk367E9XT70eyriizgubYba/gM3f1/wNspvXqWh94R3S0+Af5afa5pfrRpOoNXqFO7zeTWlEyF5YUPUAY/tgxKYNO3wXxlaOjHBBz8Csu/e6v/Enq1evW1MyuU1ShUFj8q9oJiQMXtfLHnorX0plu69hSkeJwpQoY+2Z1xYtl3EkhpXJ0bYKoch5ijFTRJhQErtGQRBSuqkeSGpYQipnAfyVoe5zKdvFMruWP5SxmUK4HFWtonie6a9AADy6nHd6VKDL0LRzDfpkTu8XVArQSBBIQrEdNObMztJ2SWgnuu6m0hnED8y4VoLMVgRB4vSpv3UTdiiZcg4AMo7fbZ3CtczsE80p7INrxhAvw=
file_glob: true
file: dist/*
on:
tags: true
branch: master
# PyPi deployment
- provider: pypi
skip_cleanup: true
user:
secure: WqjAoxPDvxFVE39Em9R8meOYTaCcnBKLezIsn4dInShCwSz3dPK/J/iV0q3zNJnzpSB7DoUZtpmq38sivldye+Z1lSCFl6AKXD3EcenbyFE30sE7F667cOC+7eeuXH+QRvY/MHfPQ2lnG8/ytWdDgzJbnl4NGC00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Bwmp1std14Slt7Z2tudRQ6Oq5jYTgdxKF5tFU5rTysCDeuTi4YgtAh4S6U6iijzmLdkfoRos2nzQlGtT3djicm+xFt0L5u6/yOUcsTflCtVSPT3+kNXfK+z5CNA+dhN7cEy+I7uZYA=
distributions: "sdist bdist_wheel"
file_glob: true
file:
- dist/*.whl
- dist/*.tar.gz
on:
tags: true
branch: master
python: 3.6