Skip to content

Commit

Permalink
Travis CI: Use os x 10.10 image #55
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1co committed Nov 26, 2017
1 parent a81e2ce commit cee86d7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Run os x builds on travis-ci.org

# Use OS X 10.10
os: osx
language: generic
osx_image: xcode9
osx_image: xcode6.4

env:
- HOMEBREW_NO_AUTO_UPDATE=1

git:
submodules: false

before_install:
# Install python
- eval "$(pyenv init -)"
- pyenv install --list
- env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.6.2
- pyenv local 3.6.2

# Install libusb
- brew install libusb || brew upgrade libusb
# Install Python 3.6.2
- brew install https://raw.github.com/Homebrew/homebrew-core/b1f976bb3c76bbb2a8d76cf46fea8b2c2235f631/Formula/python3.rb
- python3 -m venv venv
- source venv/bin/activate

# Install libusb 1.0.21
- brew install https://raw.github.com/Homebrew/homebrew-core/cb21e9ac30e47e3ea161c4247a6397967f83c83f/Formula/libusb.rb

install:
# Install dependencies
Expand Down

0 comments on commit cee86d7

Please sign in to comment.