Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
e46df1cc
Commit
e46df1cc
authored
Oct 21, 2019
by
rusty1s
Browse files
first osx test
parent
13e57def
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
.travis.yml
.travis.yml
+13
-9
No files found.
.travis.yml
View file @
e46df1cc
language
:
python
sudo
:
required
dist
:
trusty
matrix
:
jobs
:
include
:
-
python
:
3.5
-
python
:
3.6
-
os
:
linux
python
:
3.7
-
os
:
osx
python
:
3.7
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
gcc-
4.9
-
g++-
4.9
-
gcc-
5
-
g++-
5
before_install
:
-
export CC="gcc-4.9"
-
export CXX="g++-4.9"
-
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
:
-
pip install numpy
-
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment