summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2016-02-28 10:33:21 -0800
committerBob Ippolito <bob@redivi.com>2016-02-28 10:48:33 -0800
commit0949d04cdefe02b786a58688dbd66401774f11f7 (patch)
tree8f39f0e0ac7c128c50785410c0ddf7764af008ce /.travis.yml
parent6cf6290eed28e45539fd31f5cb01cfd3257da477 (diff)
downloadxattr-0949d04cdefe02b786a58688dbd66401774f11f7.tar.gz
add a wider test matrix for travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml38
1 files changed, 34 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 523ba88..8683af6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,35 @@
-language: objective-c
+language: python
+cache:
+ directories:
+ - "$HOME/.cache/pip"
+ - "$HOME/.pyenv"
+matrix:
+ include:
+ - os: osx
+ language: objective-c
+ - os: osx
+ language: objective-c
+ env: PYENV_VERSION=pypy3-2.4.0
+ - os: osx
+ language: objective-c
+ env: PYENV_VERSION=pypy-4.0.1
+ - os: osx
+ language: objective-c
+ env: PYENV_VERSION=2.7.11
+ - os: osx
+ language: objective-c
+ env: PYENV_VERSION=3.5.1
+install:
+- "./.travis/install.sh"
script:
- - ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" python setup.py build_ext -i
- - python -m compileall -f xattr
- - python setup.py test
+- "./.travis/run.sh"
+deploy:
+ provider: releases
+ api_key:
+ secure: Z5m7K1UVq0812nNtR+QAkUE3lxUwhMjM3EDWUOyPmfh0rmOsU2RgQ8oBfT1vatYfY8ExnrG4rRNWmwUqPEIzZmRLmw9zv+ixA3gcVPn6WbbMkwoeIurOPsC9wjgCckDFKYhMda8a92FSL2hVto3JPcRNTZnsKBR35Queray55SM=
+ file: dist/*.whl
+ file_glob: true
+ on:
+ repo: xattr/xattr
+ tags: true
+ skip_cleanup: true