mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 15:57:36 +02:00
Try to get FreeBSD to stop being classified as macOS
Also set things up to use `gmake` instead of `make` since the latter refers to the incompatible BSD Make rather than GNU Make on BSD. Hopefully the alias persists across build steps...
This commit is contained in:
parent
7e5e46c9cc
commit
d4f70e9607
1 changed files with 16 additions and 14 deletions
30
.travis.yml
30
.travis.yml
|
@ -24,6 +24,14 @@ matrix:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libtommath-dev
|
- libtommath-dev
|
||||||
|
- os: freebsd
|
||||||
|
addons:
|
||||||
|
pkg:
|
||||||
|
packages:
|
||||||
|
- sudo
|
||||||
|
- gmake
|
||||||
|
- libtommath
|
||||||
|
- concurrencykit
|
||||||
- os: osx
|
- os: osx
|
||||||
image: xcode8
|
image: xcode8
|
||||||
addons:
|
addons:
|
||||||
|
@ -38,32 +46,26 @@ matrix:
|
||||||
packages:
|
packages:
|
||||||
- libtommath
|
- libtommath
|
||||||
- concurrencykit
|
- concurrencykit
|
||||||
- os: freebsd
|
|
||||||
addons:
|
|
||||||
pkg:
|
|
||||||
packages:
|
|
||||||
- sudo
|
|
||||||
- libtommath
|
|
||||||
- concurrencykit
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
before_install:
|
before_install:
|
||||||
|
- [ "$(uname)" = "FreeBSD" ] || alias gmake=make
|
||||||
- |
|
- |
|
||||||
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
|
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
|
||||||
cd ${HOME}/ck
|
cd ${HOME}/ck
|
||||||
git checkout 0.6.0
|
git checkout 0.6.0
|
||||||
./configure PREFIX=/usr
|
./configure PREFIX=/usr
|
||||||
make all
|
gmake all
|
||||||
sudo make install
|
sudo gmake install
|
||||||
if [ "$(uname)" = "Linux" ]; then
|
if [ "$(uname)" = "Linux" ]; then
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
|
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
|
||||||
cd ${HOME}/cyclone-bootstrap
|
cd ${HOME}/cyclone-bootstrap
|
||||||
make
|
gmake
|
||||||
sudo make install
|
sudo gmake install
|
||||||
script:
|
script:
|
||||||
- make
|
- gmake
|
||||||
- sudo make install
|
- sudo gmake install
|
||||||
- make test
|
- gmake test
|
||||||
|
|
Loading…
Add table
Reference in a new issue