Skip to content
Permalink
Browse files

maco os travis

  • Loading branch information...
rusty1s committed Oct 21, 2019
1 parent 06ed6b1 commit 6bd2880e23e7ed4eddeb4e2820ac525eac878856
Showing with 32 additions and 16 deletions.
  1. +32 −16 .travis.yml
@@ -1,20 +1,36 @@
language: python
sudo: required
dist: trusty
matrix:
jobs:
include:
- python: 3.5
- python: 3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
before_install:
- export CC="gcc-5"
- export CXX="g++-5"
- os: linux
language: python
python: 3.7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
env:
- CC=gcc-5
- CXX=g++-5
- os: osx
language: sh
before_cache:
- brew cleanup
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
addons:
homebrew:
packages: python3
before_install:
- python3 -m pip install --upgrade virtualenv
- virtualenv -p python3 --system-site-packages "$HOME/venv"
- source "$HOME/venv/bin/activate"
env:
- CC=clang
- CXX=clang++
install:
- pip install numpy
- pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html

0 comments on commit 6bd2880

Please sign in to comment.
You can’t perform that action at this time.