-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
66 lines (48 loc) · 1.72 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
#---------------------------------#
# general configuration #
#---------------------------------#
sudo: false
branches:
only:
- master
- /^\d+\.\d+\.\d+$/
language: python
matrix:
include:
- os: linux
dist: xenial
env:
MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh"
env:
global:
- PYTHONPATH=${PYTHONPATH}:.
git:
depth: 1
before_install:
# install conda
- |
MINICONDA_URL="https://repo.continuum.io/miniconda"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash ${MINICONDA_FILE} -b
# activate conda
- source ~/miniconda3/bin/activate
# auto-yes for conda
- conda config --set always_yes yes
# update conda
#- conda update -n base -c defaults conda
install:
- conda install -c conda-forge magics
#---------------------------------#
# build configuration #
#---------------------------------#
script:
- echo $TRAVIS_TAG
- echo $GIT_TAG
- pytest
deploy:
provider: pypi
user: "__token__"
password:
secure: "PtRg9oarckrrSObjqmb71WGcTlQZmOQHdu/SMslDqECmFpbH3x3EPNf+I341FUg8IRrFkyKPTVMRnKxZiO/Gx6ILWCnaFkKZuzJ7GETl1SmMNvhGccEb2Rzy1bFvUsTOPKiKrETcCbKGHkch712DJfWFBN9GNhsWBtLtYC7j5BRVL8v6MSnZgTX2Kj12xzWCbpnUnADjuYod1JzQwAos/dtt/CqrlRfhkF4zMjuD1uVdLRXHMxM/NgeKN/hz72sYNhz9jfTlWxrn9cXwAzbLVLpjszNRZoIyRKDkc05DR7P0lnEMJsLw4C5wp+Ur995YrrlF6ZBXht4LskN/nk0maDN/uhw12JKKz3Sa6U6wNoEyAaAeGL9Hf+x1VZSJKWkR6LmFViTXx9jrY7q6i/VRsNRUfTkinA+luQgfJb2HtLPYyWY3xcovP7IL8ECpRkGGBYQ0qmTjKsumb2vbjrX7HZmpANU4druQCva0raHgnlyW2QRypMQ4F0jCg661PRW2u5CA7NEVrR1YxqthYhW9apxvI8/+CR0hbS6616kZya5pdUahOg04l6H1IzghZLgQmN+n4PCkY3Tf+w8848zo3LEtk0yUd1OqGeZ6Cj7tUMIqWkiAZ9N6JBpQ6j3vQM2TIgyYlFa1DZxT/JEvEHmBR+rdCvXmBBYD6fBmT/8Yq0s="
on:
tags: true