diff options
author | Varac <varac@leap.se> | 2017-10-05 12:28:03 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-11-29 22:53:44 +0100 |
commit | 3173444ab9a10ec4228614492da3128abd46f408 (patch) | |
tree | e57e9c60f9a4edabaf48c7f6cfdb27e8b8a7fc9f /.travis.yml | |
parent | 7622e66fd31f3d23d36186e357e9bf95c459fdda (diff) |
[test] Run OSX test on travis
- Related: #9092
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..4513c5fb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +--- +os: osx +# Xcode 6.4, OS X 10.10 +osx_image: xcode6.4 + +# language: python is not supported on OSX +# see https://github.com/travis-ci/travis-ci/issues/2312 +language: generic + +before_install: + - brew update + - brew install python + # Only if we need a newer version of openssl (1.0.2l instead of 1.0.2a-1) + # - brew upgrade OpenSSL + - pip2 install virtualenv + # https://stackoverflow.com/questions/36555679/fatal-error-in-building-sqlcipher-openssl-rand-h-file-not-found + - brew link openssl --force --overwrite + - virtualenv env -p python2.7 + - source env/bin/activate + - pip2 install tox + +script: tox --recreate -e py27-dev |