-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.travis.yml
40 lines (36 loc) · 1.26 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
env:
- GHCVER=7.10.2 TEST_PART=CORE1
- GHCVER=7.10.2 TEST_PART=CORE2
- GHCVER=7.10.2 TEST_PART=PROFILING
- GHCVER=7.10.2 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
- curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
- sudo apt-get update -qq
- sudo apt-get build-dep ghc
- travis_retry sudo apt-get install nodejs cabal-install-1.22 ghc-$GHCVER alex-3.1.4 happy-1.19.5
- export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/1.22/bin:/opt/alex/3.1.4/bin:/opt/happy/1.19.5/bin:$PATH
install:
- travis_retry cabal update
- mkdir _ghcjs_deps
- cd _ghcjs_deps
- git clone https://github.com/ghcjs/ghcjs.git
- cd ghcjs
- git checkout $TRAVIS_BRANCH
- cabal install --only-dependencies --enable-tests --enable-benchmarks
- cabal install --enable-tests --enable-benchmarks -v -j1 --ghc-options="+RTS -c -RTS"
- 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