mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
travis for os x (#125)
This commit is contained in:
committed by
Philipp Moritz
parent
fc5c40fb95
commit
d19c455b2b
+13
-4
@@ -1,12 +1,21 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
language: generic
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
- os: osx
|
||||
osx_image: xcode7
|
||||
allow_failures:
|
||||
- os: osx
|
||||
osx_image: xcode7
|
||||
|
||||
before_install:
|
||||
- sudo apt-get -y update
|
||||
- sudo apt-get -y install git
|
||||
- sudo add-apt-repository --yes ppa:kalakris/cmake
|
||||
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get -y update ; fi
|
||||
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get -y install git ; fi
|
||||
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo add-apt-repository --yes ppa:kalakris/cmake ; fi
|
||||
|
||||
install:
|
||||
- bash setup.sh
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Ray
|
||||
|
||||
[](https://travis-ci.org/amplab/ray)
|
||||
|
||||
Ray is an experimental distributed execution framework with a Python-like
|
||||
programming model. It is under development and not ready for general use.
|
||||
|
||||
|
||||
@@ -29,12 +29,13 @@ fi
|
||||
if [[ $platform == "linux" ]]; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git cmake build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-all-dev unzip libjpeg8-dev
|
||||
sudo pip install -r requirements.txt
|
||||
elif [[ $platform == "macosx" ]]; then
|
||||
brew install git cmake autoconf libtool boost libjpeg
|
||||
brew install git cmake automake autoconf libtool boost libjpeg
|
||||
sudo easy_install pip
|
||||
sudo pip install numpy
|
||||
sudo pip install -r requirements.txt --ignore-installed six
|
||||
fi
|
||||
sudo pip install -r requirements.txt
|
||||
cd thirdparty
|
||||
./download_thirdparty.sh
|
||||
./build_thirdparty.sh
|
||||
|
||||
Reference in New Issue
Block a user