File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change 1- language : objective-c
1+ language : cpp
22
3- os :
4- - osx
3+ matrix :
4+ fast_finish : true
5+ include :
6+ - os : linux
7+ sudo : required
8+ dist : trusty
9+ - os : osx
510
611cache :
12+ - ccache
713 - apt
814 - bundler
915
1016before_install :
1117 - ifmac () { if [[ $TRAVIS_OS_NAME == osx ]]; then eval $@; fi; }
1218 - iflin () { if [[ $TRAVIS_OS_NAME == linux ]]; then eval $@; fi; }
13- - ifmac brew install cmake || true
14- - iflin sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
15- - iflin sudo add-apt-repository -y ppa:andykimpe/cmake # backport of cmake 2.8.12
16- - iflin sudo add-apt-repository -y ppa:ondrej/php5 # libicu-dev 52
17- - iflin sudo apt-get update
18- - iflin sudo apt-get install libicu-dev=52.1-1+debphp.org~precise+1 gcc-4.7 g++-4.7 aptitude build-essential libfftw3-dev libxt-dev pkg-config cmake=2.8.12.2-3 libstdc++5
19- - iflin sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6
20- - iflin sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7
21- - iflin sudo update-alternatives --auto gcc
19+ - iflin sudo apt-get install libicu-dev libfftw3-dev libxt-dev pkg-config libstdc++5
2220 - git clone https://github.com/supercollider/supercollider.git
2321
2422before_script :
25- - mkdir BUILD
26- - cd BUILD
23+ - mkdir BUILD && cd BUILD
2724 - cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD/SC3plugins -DCMAKE_BUILD_TYPE=Release -DSC_PATH=../supercollider ..
2825
2926script :
30- - make install
27+ - iflin make -j 2
28+ - ifmac make install
3129 - ifmac mkdir -p $HOME/artifacts
3230 - ifmac zip -q -r $HOME/artifacts/Plugins-$TRAVIS_COMMIT.zip SC3plugins
3331
@@ -72,7 +70,6 @@ deploy:
7270after-deploy :
7371 - " echo S3 Build Location: $S3_URL"
7472
75-
7673notifications :
7774 on_success : change
7875 on_failure : change
You can’t perform that action at this time.
0 commit comments