File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ branches :
2+ only :
3+ - master
4+
5+ env :
6+ - CABALVER=1.24 GHCVER=8.0.2 LLVMVER=4.0
7+
8+ before_install :
9+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
10+ - travis_retry sudo apt-get update
11+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex
12+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH:$HOME/.cabal/bin:$PATH
13+ - travis_retry sudo apt-get install happy-1.19.5 alex-3.1.3
14+ - export PATH=/opt/alex/3.1.3/bin:/opt/happy/1.19.4/bin:$PATH
15+ - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
16+ - sudo apt-get update -qq
17+ - sudo apt-get install -qq g++-5 gcc-5
18+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
19+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
20+
21+ # update llvm
22+ - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
23+ - travis_retry sudo add-apt-repository "deb http://apt.llvm.org/precise/ llvm-toolchain-precise main"
24+ - travis_retry sudo add-apt-repository "deb http://apt.llvm.org/precise/ llvm-toolchain-precise-$LLVMVER main"
25+ - travis_retry sudo apt-get update
26+ - sudo apt-get install libedit-dev -y
27+ - sudo apt-get install -y llvm-$LLVMVER llvm-$LLVMVER-dev
28+ - alias llvm-config="llvm-config-4.0"
29+ - export PATH="/usr/bin:$PATH"
30+
31+ install :
32+ - sudo apt-get install haskell-platform -y
33+ - wget -qO- https://get.haskellstack.org/ | sh
34+
35+ script :
36+ - stack build
You can’t perform that action at this time.
0 commit comments