File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : cpp
2
+ os :
3
+ - osx
4
+ - linux
2
5
compiler :
3
6
- gcc
4
7
- clang
12
15
# - RUBY_VERSION=2.0.0 DEFAULT_COLLECTOR=Markcompact
13
16
before_script :
14
17
- rvm use ${RUBY_VERSION}
15
- - sudo apt-get install libffi-dev
16
- - sudo apt-get install libonig-dev
17
- - sudo apt-get install time
18
+ - travis/install-deps-${TRAVIS_OS_NAME}.sh
18
19
- cmake .
19
20
- make
20
21
script : travis/run-tests.sh
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ sudo apt-get install libffi-dev libonig-dev time
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ brew install libffi oniguruma pkg-config
Original file line number Diff line number Diff line change 4
4
# This is just a hackjob for now. Will make it better later.
5
5
export PATH=${PATH} :${PWD} /build/bin:${PWD} /bin
6
6
7
+ # Make libffi pkgconfig setup available.
8
+ [ " ${TRAVIS_OS_NAME} " = " osx" ] && export PKG_CONFIG_PATH=" $( brew --prefix libffi) /lib/pkgconfig/" :$PKG_CONFIG_PATH
9
+
7
10
c9 sample/bytecode/gcd-1mil.c9b
8
11
c9 sample/c9script/gcd.c9s
9
12
You can’t perform that action at this time.
0 commit comments