forked from ghcjs/shims
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (53 loc) · 1.57 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
env:
- GHCVER=7.8.3 TEST_PART=CORE1
- GHCVER=7.8.3 TEST_PART=CORE2
- GHCVER=7.8.3 TEST_PART=PROFILING
- GHCVER=7.8.3 TEST_PART=GHCJS
before_install:
- export GHCJS_BOOTING=1
- export GHCJS_BOOTING_STAGE1=1
- export SHIMS_REPO=`pwd`
- git fetch --unshallow
- sudo add-apt-repository -y ppa:hvr/ghc
- sudo add-apt-repository -y ppa:chris-lea/node.js
- sudo apt-get update -qq
- sudo apt-get build-dep ghc
- sudo apt-get install nodejs cabal-install-1.18 ghc-$GHCVER
- export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
install:
- cabal-1.18 update
- cabal-1.18 install alex happy
- mkdir _ghcjs_deps
- cd _ghcjs_deps
- git clone https://github.com/ghcjs/cabal.git
- cd cabal
- git checkout ghcjs
- cabal-1.18 install ./Cabal ./cabal-install
- cabal --version
- cd ..
- git clone https://github.com/ghcjs/ghcjs-prim.git
- cd ghcjs-prim
- git checkout $TRAVIS_BRANCH
- cd ..
- git clone https://github.com/ghcjs/haddock-internal.git
- cd haddock-internal
- git checkout $TRAVIS_BRANCH
- cd ..
- cabal install ./ghcjs-prim ./haddock-internal
- git clone https://github.com/ghcjs/ghcjs.git
- cd ghcjs
- git checkout $TRAVIS_BRANCH
- cd ..
- cabal install ./ghcjs --enable-tests --enable-benchmarks
- cd ghcjs
- ghcjs --version
- ghcjs-boot --version
- ./test/runTravis.sh boot
- ghcjs-pkg list
script:
- ./test/runTravis.sh test
notifications:
irc:
channels: "irc.freenode.net#ghcjs"
skip_join: true
email: true