diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-11-26 14:59:43 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-11-26 14:59:43 +0100 |
commit | 63355421edb26d9fd84929ca0619604cbcefedf0 (patch) | |
tree | c69434b28bb92e66ef2929d05eea6023cdfba304 | |
parent | 5d332e7218eaa6d23f3bfdb99038730274648f23 (diff) | |
download | mitmproxy-63355421edb26d9fd84929ca0619604cbcefedf0.tar.gz mitmproxy-63355421edb26d9fd84929ca0619604cbcefedf0.tar.bz2 mitmproxy-63355421edb26d9fd84929ca0619604cbcefedf0.zip |
travis: add OSX tests
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index efe81fc7..266852ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ matrix: fast_finish: true include: - python: 2.7 + - language: generic + os: osx + osx_image: xcode7.1 - python: 2.7 env: OPENSSL=1.0.2 addons: @@ -35,6 +38,13 @@ matrix: - python: pypy install: + - | + if [[ $TRAVIS_OS_NAME == "osx" ]] + then + brew update || brew update # try again if it fails + brew outdated openssl || brew upgrade openssl + brew install python + fi - "pip install -r requirements.txt" before_script: |