Skip to content

Commit

Permalink
Try out fresh Ubuntu and hedis from ppa
Browse files Browse the repository at this point in the history
  • Loading branch information
k-bx committed Dec 3, 2019
1 parent a552db6 commit ac7e3c3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: c
# sudo: false
dist: xenial
dist: bionic

cache:
directories:
Expand All @@ -12,11 +12,14 @@ before_install:
- mkdir -p ~/.local/bin
- mkdir -p ~/tmp
- export PATH=~/.local/bin:$PATH
- curl -L https://github.com/commercialhaskell/stack/releases/download/v1.9.3/stack-1.9.3-linux-x86_64.tar.gz | tar xz -C ~/tmp
- mv ~/tmp/stack-1.9.3-linux-x86_64/stack ~/.local/bin/
- curl -L https://github.com/antirez/redis/archive/5.0.2.tar.gz | tar xz -C ~/tmp
- cd ~/tmp/redis-5.0.2 && make
- ~/tmp/redis-5.0.2/src/redis-server &
- curl -L https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz | tar xz -C ~/tmp
- mv ~/tmp/stack-2.1.3-linux-x86_64/stack ~/.local/bin/
# - curl -L https://github.com/antirez/redis/archive/5.0.2.tar.gz | tar xz -C ~/tmp
# - cd ~/tmp/redis-5.0.2 && make
# - ~/tmp/redis-5.0.2/src/redis-server &
- sudo add-apt-repository -y ppa:chris-lea/redis-server
- sudo apt-get update
- sudo apt-get -y install redis-server
- cd ${TRAVIS_BUILD_DIR}

matrix:
Expand All @@ -25,7 +28,7 @@ matrix:
- env: GHCVER=8.0.1 STACK_YAML=stack-8.0.yaml
- env: GHCVER=8.2.2 STACK_YAML=stack-8.2.yaml
- env: GHCVER=8.4.1 STACK_YAML=stack-8.4.yaml
- env: GHCVER=8.6.3 STACK_YAML=stack-8.6.yaml
- env: GHCVER=8.6.5 STACK_YAML=stack-8.6.yaml

allow_failures:
- env: GHCVER=head STACK_YAML=stack-head.yaml
Expand Down
2 changes: 1 addition & 1 deletion stack-head.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-10.3
resolver: nightly-2019-11-29
packages:
- '.'
flags:
Expand Down

0 comments on commit ac7e3c3

Please sign in to comment.