Skip to content

Commit

Permalink
Reverting Travis CI to manual build
Browse files Browse the repository at this point in the history
No support for 7.10 yet, it seems.
  • Loading branch information
orome committed Nov 19, 2015
1 parent c7f81a4 commit e872275
Showing 1 changed file with 43 additions and 53 deletions.
96 changes: 43 additions & 53 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,47 @@
language: haskell
# Use new container infrastructure to enable caching
sudo: false

ghc: "7.10"
# Choose a lightweight base image; we provide our own build tools.
language: c

#install:
# - "cabal install --only-dependencies --enable-tests --reorder-goals"
#script:
# - "cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test"
# GHC depends on GMP. You can add other dependencies here as well.
addons:
apt:
packages:
- libgmp-dev

# The different configurations we want to test. You could also do things like
# change flags or use --stack-yaml to point to a different file.
env:
- ARGS="--resolver lts-3.7"
- ARGS="--resolver nightly"
#- ARGS=""

## Use new container infrastructure to enable caching
#sudo: false
#
## Choose a lightweight base image; we provide our own build tools.
#language: c
#
## GHC depends on GMP. You can add other dependencies here as well.
#addons:
# apt:
# packages:
# - libgmp-dev
#
## The different configurations we want to test. You could also do things like
## change flags or use --stack-yaml to point to a different file.
#env:
#- ARGS="--resolver lts-3.7"
#- ARGS="--resolver nightly"
##- ARGS=""
#
#before_install:
## Download and unpack the stack executable
#- mkdir -p ~/.local/bin
#- export PATH=$HOME/.local/bin:$PATH
#- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar xz -C ~/.local/bin
#
## This line does all of the work: installs GHC if necessary, build the library,
## executables, and test suites, and runs the test suites. --no-terminal works
## around some quirks in Travis's terminal implementation.
#script: stack $ARGS --no-terminal --install-ghc test --haddock
#
## Caching so the next build will be fast too.
#cache:
# directories:
# - "$HOME/.stack"
#
### Deploy (tagged commits) to Hackage; generated by travis CLI
##before_deploy: "echo '=== BEGIN deployment ==='"
##deploy:
## provider: hackage
## username: Orome
## password:
## secure: lJTICRAD8m+NePYSnyol1TU1zAyuv9YUmR1mfqE5qTrJnauERarmMEVJXglQUASyAT+JfLSoRqJfQWcixE1YTmcXrijIxZicX7G/t6FqPrJDiz+7lpCg4sXBa4ZAbahwvprkBB1eJUN+/9MUjEeX8a+N/lT/hTvnoAFiM2SW1tfS9YuYTeKYCBNMgh6Li8X4cwvI0nsyWyDj7Q+2n1rti6yBSSt2NdXpxVUGzmn4TiDjbX6B3VNZSlwhMb7h9nw11Yf6UkbjI5r4G8eUAJ5o+YOpVGK41+2IXITrO6YnR7Ma3EmMiOADuG1KkJEUrc9juWy6RmjFO+Zs2YIHiYPKoLZXR1w1pRuSlre3vLJwMKj3nFF2aAgawzjqGpmtJlJLn1D+uIrMnUo5lNb4VNHDNTnlmnQAESZmK/lhhqOp/2CebVp0e2p2bjnJUHKVb3ptXmzek9ppS6T9fBhu9/am/4N3Yi1EUurlxVl0xE1eL/3zQX7vVwPrrjk6kDHgVqrlRDZWvf4/MBgyRUitE12w1oRr04cgcivtv2ipov30EdQoUpMy3ABq8EMITAFXTeNPWtEL+3XUqp9SQfxxnycK1Zm/xAsNgIDQl27xY+XYgF585A+cAkhjXkOhS2h7vDw7z2CXDpXcw46IcyoXiPI+9doLX9rTJF8rzJLVksGbPrE=
## on:
## repo: orome/crypto-enigma-hs
## branch: hackage
## tags: true
##after_deploy: "echo '=== END deployment ==='"
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar xz -C ~/.local/bin

# This line does all of the work: installs GHC if necessary, build the library,
# executables, and test suites, and runs the test suites. --no-terminal works
# around some quirks in Travis's terminal implementation.
script: stack $ARGS --no-terminal --install-ghc test --haddock

# Caching so the next build will be fast too.
cache:
directories:
- "$HOME/.stack"

## Deploy (tagged commits) to Hackage; generated by travis CLI
#before_deploy: "echo '=== BEGIN deployment ==='"
#deploy:
# provider: hackage
# username: Orome
# password:
# secure: lJTICRAD8m+NePYSnyol1TU1zAyuv9YUmR1mfqE5qTrJnauERarmMEVJXglQUASyAT+JfLSoRqJfQWcixE1YTmcXrijIxZicX7G/t6FqPrJDiz+7lpCg4sXBa4ZAbahwvprkBB1eJUN+/9MUjEeX8a+N/lT/hTvnoAFiM2SW1tfS9YuYTeKYCBNMgh6Li8X4cwvI0nsyWyDj7Q+2n1rti6yBSSt2NdXpxVUGzmn4TiDjbX6B3VNZSlwhMb7h9nw11Yf6UkbjI5r4G8eUAJ5o+YOpVGK41+2IXITrO6YnR7Ma3EmMiOADuG1KkJEUrc9juWy6RmjFO+Zs2YIHiYPKoLZXR1w1pRuSlre3vLJwMKj3nFF2aAgawzjqGpmtJlJLn1D+uIrMnUo5lNb4VNHDNTnlmnQAESZmK/lhhqOp/2CebVp0e2p2bjnJUHKVb3ptXmzek9ppS6T9fBhu9/am/4N3Yi1EUurlxVl0xE1eL/3zQX7vVwPrrjk6kDHgVqrlRDZWvf4/MBgyRUitE12w1oRr04cgcivtv2ipov30EdQoUpMy3ABq8EMITAFXTeNPWtEL+3XUqp9SQfxxnycK1Zm/xAsNgIDQl27xY+XYgF585A+cAkhjXkOhS2h7vDw7z2CXDpXcw46IcyoXiPI+9doLX9rTJF8rzJLVksGbPrE=
# on:
# repo: orome/crypto-enigma-hs
# branch: hackage
# tags: true
#after_deploy: "echo '=== END deployment ==='"

0 comments on commit e872275

Please sign in to comment.