-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtravis.sh
executable file
·46 lines (38 loc) · 1.54 KB
/
travis.sh
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
set -ex
sudo apt-get update
echo Install Shake
git clone https://github.com/ndmitchell/shake
(cd shake && cabal install)
echo Install Ninja
git clone https://github.com/martine/ninja
(cd ninja && ./bootstrap.py)
export PATH=$PATH:`pwd`/ninja
echo Install tup
sudo apt-get install libfuse-dev
modprobe fuse
git clone https://github.com/gittup/tup
(cd tup && ./bootstrap.sh)
export PATH=$PATH:`pwd`/tup
echo Install fabricate
wget https://raw.githubusercontent.com/SimonAlfie/fabricate/master/fabricate.py
export PYTHONPATH=$PWD:$PYTHONPATH
echo Install Aqualid
wget https://github.com/aqualid/aqualid/releases/download/v0.53-beta/Aqualid-0.53.tar.bz2
tar -xjf Aqualid-0.53.tar.bz2
export AQLPATH=$PWD/Aqualid
export PATH=$PATH:$AQLPATH
export PYTHONPATH=$PYTHONPATH:$AQLPATH
(cd Aqualid-0.53 && python setup.py install --install-lib $AQLPATH --install-headers $AQLPATH --install-scripts $AQLPATH --install-data $AQLPATH)
echo Install fbuild
sudo apt-get install python3 python3-setuptools
git clone https://github.com/felix-lang/fbuild.git
(cd fbuild && sudo python3 setup.py install)
echo Install gup
# see http://installion.co.uk/ubuntu/vivid/universe/0/0install-core/install/index.html
sudo cat /etc/apt/sources.list
sudo apt-get install 0install-core --no-install-recommends
0install add gup http://gfxmonk.net/dist/0install/gup.xml
export PATH=/home/travis/.ghc-multi/7.6.3/bin:$PATH
runhaskell Main shake make ninja fabricate aql fbuild tup
# gup
# Temporarily disabled gup due to: https://travis-ci.org/ndmitchell/build-shootout/builds/586561022#L1172