Skip to content

Commit

Permalink
#19 Simplify travis definition
Browse files Browse the repository at this point in the history
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date:      Thu Jun 27 22:23:13 2019 +0200
#
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#   (use "git push" to publish your local commits)
#
# Changes to be committed:
#	modified:   .travis.yml
#
  • Loading branch information
pascalh committed Jun 28, 2019
1 parent dbad0d0 commit e5f94fa
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
sudo: false

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

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

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 e5f94fa

Please sign in to comment.