.travis.yml 1.38 KB
Newer Older
Jason R. Coombs's avatar
Jason R. Coombs committed
1 2 3 4
language: python
python:
  - 2.6
  - 2.7
Jason R. Coombs's avatar
Jason R. Coombs committed
5
  - 3.3
6
  - 3.4
Jason R. Coombs's avatar
Jason R. Coombs committed
7
  - 3.5
8
  - pypy
Matt Iversen's avatar
Matt Iversen committed
9
  - pypy3
10
env:
11
 - ""
12
 - LC_ALL=C LC_CTYPE=C
13
script:
Jason R. Coombs's avatar
Jason R. Coombs committed
14
 # avoid VersionConflict when newer version is required
15
 - pip install -U pytest flake8
Jason R. Coombs's avatar
Jason R. Coombs committed
16

17 18 19
 # Output the env, because the travis docs just can't be trusted
 - env

20
 # update egg_info based on setup.py in checkout
21 22
 - python bootstrap.py

23
 - python setup.py test --addopts='-rs'
24

25 26 27 28
before_deploy:
  - export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=1
deploy:
  provider: pypi
29 30
  # Also update server in setup.cfg
  server: https://upload.pypi.io/legacy/
31 32
  on:
    tags: true
33
    all_branches: true
34
    python: 3.5
Jason R. Coombs's avatar
Jason R. Coombs committed
35
    condition: $LC_ALL != "C"
36 37 38 39
  user: jaraco
  password:
    secure: tfWrsQMH2bHrWjqnP+08IX1WlkbW94Q30f4d7lCyhWS1FIf/jBDx4jrEILNfMxQ1NCwuBRje5sihj1Ow0BFf0vVrkaeff2IdvnNDEGFduMejaEQJL3s3QrLfpiAvUbtqwyWaHfAdGfk48PovDKTx0ZTvXZKYGXZhxGCYSlG2CE6Y6RDvnEl6Tk8e+LqUohkcSOwxrRwUoyxSnUaavdGohXxDT8MJlfWOXgr2u+KsRrriZqp3l6Fdsnk4IGvy6pXpy42L1HYQyyVu9XyJilR2JTbC6eCp5f8p26093m1Qas49+t6vYb0VLqQe12dO+Jm3v4uztSS5pPQzS7PFyjEYd2Rdb6ijsdbsy1074S4q7G9Sz+T3RsPUwYEJ07lzez8cxP64dtj5j94RL8m35A1Fb1OE8hHN+4c1yLG1gudfXbem+fUhi2eqhJrzQo5vsvDv1xS5x5GIS5ZHgKHCsWcW1Tv+dsFkrhaup3uU6VkOuc9UN+7VPsGEY7NvquGpTm8O1CnGJRzuJg6nbYRGj8ORwDpI0KmrExx6akV92P72fMC/I5TCgbSQSZn370H3Jj40gz1SM30WAli9M+wFHFd4ddMVY65yxj0NLmrP+m1tvnWdKtNh/RHuoW92d9/UFtiA5IhMf1/3djfsjBq6S9NT1uaLkVkTttqrPYJ7hOql8+g=
  distributions: release