mirror of
https://github.com/kowainik/relude.git
synced 2024-10-26 04:32:37 +03:00
Improve travis settings
This commit is contained in:
parent
5ba8834ad8
commit
74671cc707
85
.travis.yml
85
.travis.yml
@ -1,57 +1,62 @@
|
||||
language: c
|
||||
sudo: true
|
||||
language: haskell
|
||||
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: GHCVER=7.10.3 STACK_YAML=stack-7.10.3.yaml
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- hvr-ghc
|
||||
packages:
|
||||
- ghc-7.10.3
|
||||
- env: GHCVER=8.0.1 STACK_YAML=stack-8.0.1.yaml
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- hvr-ghc
|
||||
packages:
|
||||
- ghc-8.0.1
|
||||
- env: GHCVER=8.0.2 STACK_YAML=stack-8.0.2.yaml
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- hvr-ghc
|
||||
packages:
|
||||
- ghc-8.0.2
|
||||
- env: GHCVER=8.2.1 STACK_YAML=stack.yaml
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- hvr-ghc
|
||||
packages:
|
||||
- ghc-8.2.1
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.stack"
|
||||
- "$HOME/build/serokell/universum/.stack-work"
|
||||
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- ghc: 7.10.3
|
||||
env: GHCVER='7.10.3' STACK_YAML="$HOME/build/serokell/universum/stack-$GHCVER.yaml"
|
||||
|
||||
- ghc: 8.0.1
|
||||
env: GHCVER='8.0.1' STACK_YAML="$HOME/build/serokell/universum/stack-$GHCVER.yaml"
|
||||
|
||||
- ghc: 8.0.2
|
||||
env: GHCVER='8.0.2' STACK_YAML="$HOME/build/serokell/universum/stack.yaml"
|
||||
|
||||
- ghc: 8.2.2
|
||||
env: GHCVER='8.2.2' STACK_YAML="$HOME/build/serokell/universum/stack-$GHCVER.yaml"
|
||||
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: 'ppa:hvr/ghc'
|
||||
packages:
|
||||
- libgmp-dev
|
||||
- cabal-install-2.0
|
||||
|
||||
|
||||
before_install:
|
||||
# Download and unpack the stack executable
|
||||
|
||||
- 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'
|
||||
# ghc
|
||||
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
|
||||
- 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'
|
||||
- stack --version
|
||||
|
||||
|
||||
install:
|
||||
- stack --version
|
||||
- stack -j 2 setup --no-terminal
|
||||
|
||||
- travis_wait 30 stack setup --no-terminal
|
||||
- stack ghc -- --version
|
||||
- stack -j 2 build --only-snapshot --no-terminal
|
||||
|
||||
- travis_wait 40 stack build --only-dependencies --no-terminal
|
||||
- travis_wait 40 stack build --test --bench --haddock --no-run-tests --no-run-benchmarks --no-haddock-deps --no-terminal
|
||||
|
||||
|
||||
script:
|
||||
- stack -j 2 build --bench --no-run-benchmarks --haddock --no-terminal
|
||||
|
||||
- travis_wait 40 stack build --test --no-terminal
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -2,6 +2,7 @@
|
||||
=====
|
||||
* [#79](https://github.com/serokell/universum/issues/79):
|
||||
Import '(<>)' from Semigroup, not Monoid.
|
||||
* Improve travis configartion.
|
||||
|
||||
0.8.0
|
||||
=====
|
||||
|
@ -1,4 +1,4 @@
|
||||
resolver: lts-8.15
|
||||
resolver: nightly-2017-10-08
|
||||
packages:
|
||||
- '.'
|
||||
|
@ -1,4 +1,4 @@
|
||||
resolver: nightly-2017-10-08
|
||||
resolver: lts-8.15
|
||||
packages:
|
||||
- '.'
|
||||
|
||||
|
@ -17,7 +17,7 @@ bug-reports: https://github.com/serokell/universum/issues
|
||||
tested-with: GHC == 7.10.3
|
||||
, GHC == 8.0.1
|
||||
, GHC == 8.0.2
|
||||
, GHC == 8.2.1
|
||||
, GHC == 8.2.2
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
|
Loading…
Reference in New Issue
Block a user