travis for os x (#125)

This commit is contained in:
Robert Nishihara
2016-06-22 11:28:01 -07:00
committed by Philipp Moritz
parent fc5c40fb95
commit d19c455b2b
3 changed files with 18 additions and 6 deletions
+13 -4
View File
@@ -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
+2
View File
@@ -1,5 +1,7 @@
# Ray
[![Build Status](https://travis-ci.org/amplab/ray.svg?branch=master)](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.
+3 -2
View File
@@ -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