Commit e57041d1 authored by rusty1s's avatar rusty1s
Browse files

maco os travis

parent 0dd1186d
language: python jobs:
sudo: required
dist: trusty
matrix:
include: include:
- python: 3.5 - os: linux
- python: 3.6 language: python
addons: python: 3.7
apt: addons:
sources: apt:
- ubuntu-toolchain-r-test sources:
packages: - ubuntu-toolchain-r-test
- gcc-4.9 packages:
- g++-4.9 - gcc-5
before_install: - g++-5
- export CC="gcc-4.9" env:
- export CXX="g++-4.9" - 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: install:
- pip install numpy - pip install numpy
- pip install -q torch -f https://download.pytorch.org/whl/nightly/cpu/torch.html - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- pip install pycodestyle - pip install pycodestyle
- pip install flake8 - pip install flake8
- pip install codecov - pip install codecov
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment