summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-10-05 12:28:03 +0200
committerVarac <varac@leap.se>2017-10-06 17:17:17 +0200
commiteb72cc64c8108cdfda064f64821884086ab623af (patch)
treef3ecd6eda859e6ed3515e15378bd81748dee56ed
parentcbc8c629216527f1a8a0ec0faac3bedc22b5c300 (diff)
Run OSX test on travistravis_osx_builds
- Related: #9092
-rw-r--r--.travis.yml22
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