forked from sonic-pi-net/sonic-pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (59 loc) · 1.31 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: ruby
os: linux
sudo: required
dist: trusty
addons:
apt:
update: true
sources:
- sourceline: 'ppa:latthias/qgis-travis-deps'
packages:
- ruby-all-dev
- rake
- cmake
- pkg-config
- g++
- libfftw3-dev
- libffi-dev
- libqt5scintilla2-dev
- qtbase5-dev
- qttools5-dev
- qttools5-dev-tools
- qt5-default
- libqt5opengl5-dev
- libqt5svg5-dev
- libqwt-qt5-dev
- libboost-all-dev
compiler: gcc
cache:
- apt
- ccache
rvm:
- 2.1.10
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
before_install:
- wget http://aubio.org/pub/aubio-0.4.4.tar.bz2
- tar xvjf aubio-0.4.4.tar.bz2
- cd aubio-0.4.4
- ./waf configure build
- sudo ./waf install
script:
- set -e
# the | starts a multiline YAML entry
- |
# this compiles the gems and runs the Sonic Pi test suite with the ruby installed through Travis's rvm
echo ""
echo "***********************************"
echo "* Compiling the vendor/ ruby gems *"
echo "***********************************"
cd $TRAVIS_BUILD_DIR/app/server/ruby/bin
ruby ./compile-extensions.rb
echo ""
echo "***********************************"
echo "* Running the Sonic Pi test suite *"
echo "***********************************"
cd $TRAVIS_BUILD_DIR/app/server/ruby/test
rake test