Idris-dev/.travis.yml

26 lines
1.0 KiB
YAML
Raw Normal View History

language: haskell
before_install:
2013-10-07 23:08:53 +04:00
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
- sudo apt-get update -qq
- sudo apt-get install -qq libgc-dev llvm-3.3
2013-11-28 02:01:38 +04:00
- sudo apt-get install -qq libghc-unordered-containers-dev libghc-mtl-dev libghc-network-dev libghc-xml-dev libghc-transformers-dev libghc-text-dev libghc-utf8-string-dev libghc-vector-dev libghc-split-dev libghc-ansi-terminal-dev libghc-ansi-wl-pprint-dev
# trifecta dependencies
- sudo apt-get install -qq libghc-blaze-builder-dev libghc-blaze-html-dev libghc-data-lens-dev libghc-bifunctors-dev libghc-hashable-dev libghc-semigroups-dev libghc-semigroupoids-dev libghc-parallel-dev libghc-comonad-dev libghc-terminfo-dev libghc-keys-dev
install:
- cabal install -f FFI -f LLVM --only-dependencies --enable-tests
2013-06-29 04:51:44 +04:00
before_script:
- cabal sdist
- cd ..
- tar -xf Idris-dev/dist/idris*.tar.gz
- cd idris*
2013-06-29 04:51:44 +04:00
script:
- cabal configure -f FFI -f LLVM
2013-10-07 23:02:20 +04:00
- cabal build
- cabal copy
2013-11-28 01:11:55 +04:00
- make -j2 $TESTS
env:
# TESTS=doc
- TESTS=test_c
2013-11-28 01:11:55 +04:00
- TESTS=test_java
- TESTS=test_llvm