"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "02c777c065c851720654ed2e69173aaf43d8600a"
Commit de0745b0 authored by rusty1s's avatar rusty1s
Browse files

update osx image

parent fdce4f57
...@@ -3,9 +3,17 @@ language: python ...@@ -3,9 +3,17 @@ language: python
jobs: jobs:
include: include:
- os: linux - os: linux
python: 3.6 python: 3.7
before_install:
- export CC=gcc-5
- export CXX=g++-5
- os: osx - os: osx
python: 3.6 osx_image: xcode10.2
python: 3.7
before_install:
- export MACOSX_DEPLOYMENT_TARGET=10.9
- export CC=clang
- export CXX=clang++
addons: addons:
apt: apt:
sources: sources:
...@@ -13,12 +21,6 @@ addons: ...@@ -13,12 +21,6 @@ addons:
packages: packages:
- gcc-5 - gcc-5
- g++-5 - g++-5
before_install:
- if [ "TRAVIS_OS_NAME" = "linux"]; then export CC=gcc-5; fi
- if [ "TRAVIS_OS_NAME" = "linux"]; then export CXX=g++-5; fi
- if [ "TRAVIS_OS_NAME" = "osx"]; then export MACOSX_DEPLOYMENT_TARGET=10.9; fi
- if [ "TRAVIS_OS_NAME" = "osx"]; then export CC=clang; fi
- if [ "TRAVIS_OS_NAME" = "osx"]; then export CXX=clang++; fi
install: install:
- pip install numpy - pip install numpy
- pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
......
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