-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (39 loc) · 1.94 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
# This file was autogenerated and will overwrite each time you run travis_pypi_setup.py
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "2.7"
install:
- sudo apt-get update
- sudo apt-get install llvm
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- 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
# Setup environment
- conda create -n travisci --yes python=${TRAVIS_PYTHON_VERSION:0:3} llvm numpy llvmpy cryptography
- source activate travisci
- pip install -U tox
- pip install -r requirements_dev.txt
- python setup.py install
script: make test
deploy:
on:
branch: master
repo: tartavull/fastpy
tags: true
distributions: sdist bdist_wheel
password:
secure: swsmt/etQCEWYWOXZ/YNj+iPLkercHgTdHUKv8UJA/JbK4LOrF5CoR/ctLz0Y4//1p42chd0GWWTA/JH5hrK/Civ5fo5gxyTTpe4SdDD9ICQWRRX3SJHucxpS0+jy0IVRaZ+diTpwWQzAU1zZRId9K2H3CfKNnB5kh7ljpTgtEpFMPjjwr2KvRd/uJY36RlNyW4UG0Ki+Z9k+3J+vGKU/uhQwbRWtYxLxXyi9+TFGJaPXREy5ZrOoJrlOsUVP0VQI022a/YIYc5ufRX5fM395ROes5Cy0t+RzMdgtQDF74fKBOvPsUmFiS5CMONgrtKdd8FFCoDqkkbvhvTabWiCVJ8DQi/FjgFBoE+wxr5ljN5geZ25+g+oPkFbr9jvIopGr9fO3pQft1LgdAqlB/9jARfHIFoEBdJNqFP+X6x134yK41wiutKh4+WoCcbzfR1fQlfOsdLhsrQh0N1rLS8u3zotHM/p6nhgw2NOuIwDBEaveoX/s7pPGQut1395o+4gCB63+naz09+jFKvoEdYoyOLGybXPMR4FeSS0GFMHwoykhxkPMsGxcuJbmqQWN7F42UtRrtW3ysg+QSZ+UXgWgnLlR2HNu2rWN2IMQrlm7b6LBGLVERrsiPutUNIyp457WHhLeLYMq8+TUPjI5lwCqq42piBR/7JfodPczsoma4I=
provider: pypi
user: tartavull