-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
26 lines (26 loc) · 856 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
os:
- osx
- linux
env:
- NANOMSG="git://github.com/nanomsg/nanomsg.git -b 0.5-beta"
- NANOMSG="git://github.com/nanomsg/nanomsg.git"
before_install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm i 0.10 && nvm i 0.12 && nvm i iojs
- echo -e "require('fs').writeFile('platform.sh','export PLATFORM=\"'+require('os').platform()+'\"')" >> "check.js"
- node check && chmod a+x platform.sh && source platform.sh
- git clone $NANOMSG && cd nanomsg
- ./autogen.sh && ./configure && make && sudo make install
- '[ "$PLATFORM" == "darwin" ] || sudo /sbin/ldconfig'
- cd ..
branches:
only:
- master
language: c
script:
- travis_retry nvm use 0.10 && make full
- travis_retry nvm use 0.12 && make full
- travis_retry nvm use iojs && make full
notifications:
email: false