Skip to content

Commit 63f53b4

Browse files
author
Chet Husk
committed
add OSX to the build matrix against mono stable
1 parent c3d4eb8 commit 63f53b4

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
language: csharp
22

3+
os:
4+
- linux
5+
- osx
6+
7+
mono:
8+
- latest
9+
310
install:
411

512
script:
6-
- ./autogen.sh --prefix=/usr
13+
- ./autogen.sh
714
- make
815
- sudo make install
916
- xbuild ./src/fsharp-library-unittests-build.proj /p:TargetFramework=net40 /p:Configuration=Release
1017
- (cd tests/projects; ./build.sh)
1118
- (cd tests/fsharp/core; ./run-opt.sh)
12-

autogen.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
#!/usr/bin/env sh
2+
3+
if [[ $TRAVIS_OS_NAME == osx ]];
4+
then
5+
monoVer=$(mono --version | head -n 1 | cut -d' ' -f 5)
6+
prefix="/Library/Frameworks/Mono.framework/Versions/$monoVer";
7+
else prefix="/usr";
8+
fi
9+
210
which autoreconf > /dev/null || (echo "Please install autoconf" && exit 1)
3-
autoreconf && ./configure $@
11+
autoreconf && ./configure --prefix=$prefix

0 commit comments

Comments
 (0)