forked from CATIA-Systems/FMPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (52 loc) · 2.08 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
language: python
matrix:
include:
- os: linux
env:
- PYTHON_VERSION=2.7
- MINICONDA=Miniconda2-latest-Linux-x86_64.sh
- os: linux
env:
- PYTHON_VERSION=3.6
- MINICONDA=Miniconda3-latest-Linux-x86_64.sh
- os: osx
language: generic
env:
- PYTHON_VERSION=2.7
- MINICONDA=Miniconda2-latest-MacOSX-x86_64.sh
- os: osx
language: generic
env:
- PYTHON_VERSION=3.6
- MINICONDA=Miniconda3-latest-MacOSX-x86_64.sh
install:
# download and install miniconda
- wget https://repo.continuum.io/miniconda/$MINICONDA -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# useful for debugging any issues with conda
- conda info -a
# create the conda environment
- conda create -q -n test-env -c anaconda python=$PYTHON_VERSION dask lxml matplotlib numpy pathlib pyqt pyqtgraph requests
- source activate test-env
# build the wheel
- python setup.py bdist_wheel --universal
# install the wheel
- |
for f in dist/FMPy-*.whl; do
pip install $f --no-deps
done
script:
- cd tests
- python -m unittest discover
- cd ..
deploy:
provider: pypi
user: t-sommer
password:
secure: H4EFw/NtTmmFLOB2yjP8d3uqsPDCzG4WV7RbeEu3rRwz39cZxKkBEvBokKYVPo7tLRwWTQjYGbrwOaLME3hBNo0Mjc9d99Ivcy6UTeE4T6AUln//STDOjy2geJnkBCStZ5I21N+bVom6lzT0Oe0EUnJNBQWnJza7EuMSoTdaH3us5Obtc3F1dqbUensdvaUUvZw9Px7lIQ2C1drwgZvh3yArXX8rVAtxq9wpa601G6tKtrwRcgS4v1jAK8p7MJdFVA/9i5ZAXB/L4waE3pv+k52bjFJ9lcaYOwYcxBedqriKYV78q0+VmBn1TfMK0oNEDgg7abVjZwnx17oGvm389BeEFzN7GXX3RsoNNUlcMFXEEaFVuCWwXNG3Sx6HHsz9zyOE6jbhMt1ag4VHZsCoWO/UoXL7jbd46kBIOuixVgkPZlQSP6FA0/jch85940tYtPQXBxldOiwjYyFFUxv/47iTaB0aAt6Elm+2c/dxgDd0jS/FwmGdChrYcjLU8qjy2/ApMps1C2u00nxN6P/OxqbY0fIqgBFHQOsEgEoSe6sGDzPTOtQrsp/3pP3At1KR8czBkTUxWb+5Xa+ObM/qc4Jcy3QAoLRlGIyId9frOpViI/VgM4RpT+i0chaOwY4yFAexkWwGtWST58VKgvnzYTtnTQ/g+fRgFal3NtkEWUo=
distributions: bdist_wheel --universal
skip_cleanup: true