Skip to content

Commit

Permalink
_Actually_ fix the TravisCI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fosskers committed Jul 22, 2015
1 parent 9ebd24d commit 9931a57
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
33 changes: 31 additions & 2 deletions .travis.yml
@@ -1,2 +1,31 @@
language: haskell
ghc: 7.10
# From https://github.com/hvr/multi-ghc-travis (thank you)

language: c

env:
- CABALVER=1.22 GHCVER=7.10.1

before_install:
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH

install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update
- cabal install --only-dependencies --enable-tests --enable-benchmarks

script:
- if [ -f configure.ac ]; then autoreconf -i; fi
# -v2 provides useful information for debugging
- cabal configure --enable-tests --enable-benchmarks -v2
- cabal build
- cabal test
- cabal check
- cabal sdist

# check that the generated source-distribution can be built & installed
- SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&
(cd dist && cabal install --force-reinstalls "$SRC_TGZ")
6 changes: 3 additions & 3 deletions aura.cabal
@@ -1,6 +1,6 @@
name: aura

version: 1.3.1.0
version: 1.3.2.0

synopsis: A secure package manager for Arch Linux and the AUR, written in Haskell.

Expand Down Expand Up @@ -84,13 +84,13 @@ executable aura
Bash.Parser,
Bash.Simplify

build-depends: aur,
build-depends: aur>=3.0.0,
mtl,
lens,
text,
time,
unix,
wreq-sb,
wreq,
split,
array,
parsec,
Expand Down

0 comments on commit 9931a57

Please sign in to comment.