Skip to content

Commit

Permalink
#19 Simplify travis definition
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalh committed Jul 2, 2019
1 parent dbad0d0 commit f1b1068
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
sudo: false

sudo: true
language: haskell
cache:
directories:
- $HOME/.stack/

- "$HOME/.stack"
- "$TRAVIS_BUILD_DIR/.stack-work"
matrix:
include:
- env: BUILD=stack ARGS=""
compiler: ": #stack default"
addons:
apt:
packages:
- libgtk2.0-dev
- libgtk-3-dev
- libgtksourceview-3.0-dev
sources:
- hvr-ghc
- happy
- alex

before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

- curl -sSL https://get.haskellstack.org/ | sh

install:
- stack -j 2 setup --no-terminal
Expand Down

0 comments on commit f1b1068

Please sign in to comment.