-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (32 loc) · 1.45 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: false
language: generic
cache:
directories:
- "$HOME/.stack"
addons:
apt:
packages:
- libgmp-dev
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'
install:
- stack --no-terminal --install-ghc test --only-dependencies
script:
- stack --no-terminal test --haddock --no-haddock-deps
before_deploy:
- stack --no-terminal build --ghc-options=-O2
deploy:
skip_cleanup: true
provider: s3
access_key_id: AKIAIR5HMJHB2I6U6I5Q
secret_access_key:
secure: vaDn1q/IdNitB7ki0zCTX6Xs9ErNsIoI0QKmeqE6Iq+kwkirLsTSoRAXhFNjv7nMww1lPepguJCVzPnJ+1XEz4vttdgFpe52SJN+LgzmOesjb4wYyv7bwpuYbGK61+goLU2rETdIB2EnHfYT6MhHRQBBTyJwGhR5yQzGDeSfGDHELYGlxza4gwLT+QONPg+YZu4eCwL53y4l6cZqZav07BivygoZ1pSQcviDd2IMJkmEOjMK6NFJpsdOpJ+jY/e7kBZxGNTgmEJBoQS4P0NoEE9ExvAlI0nxpFx/TavLRInqfEgVMoawstj27M+NFV9fZtFyxv+2BgWexUepQgrgH28CCq6o1DSsgC01oJOkr6Gw+0b1rSXQV5gj/nIEMKgs10lldTImzGGM+slEkzQLplUhUPWrVuRMqrYFcEsnkGre9T7VTYR5OcHLMl9jQFgP5K8k8f+RPLDefr1JswLPe6tr2JEKcOEvg1Kvidv6Y4zIZylPxshwnJYZisxu/sas074gBtnR2fv21ek+xuXKUn5s8s1yxp31ypxbfzpAqY9BOUWGXVR1tIxJ6wp6EOSY5T5Lfy7Az5SRFn7cMQhrUpY0te0EVJHek6n+QdMTrLYvw45jn74ln6CJgyTV+oZR0QJZQ2XLueQklwMSTEX1wwv03bMSPoYEHVUYCl6Zb8o=
bucket: glug-deploys
local-dir: ".stack-work/install/x86_64-linux/lts-8.13/8.0.2/bin"
upload-dir: builds
acl: private
on:
repo: robmcl4/Glug