mirror of
https://github.com/github/semantic.git
synced 2024-12-27 00:44:57 +03:00
Merge remote-tracking branch 'origin/cache-cow' into hlint-in-ci-again
This commit is contained in:
commit
a767642ab9
28
.travis.yml
28
.travis.yml
@ -17,10 +17,14 @@ before_cache:
|
||||
|
||||
- rm -rfv $HOME/.cabal/packages/head.hackage
|
||||
|
||||
# remove files from old compilers
|
||||
- rm -rfv $HOME/.cabal/store/{!(ghc-8.6.5)}
|
||||
- rm -rfv $TRAVIS_BUILD_DIR/dist-newstyle/build/*/{!(ghc-8.6.5)}
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- compiler: "ghc-8.6.4"
|
||||
addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.4], sources: [hvr-ghc]}}
|
||||
- compiler: "ghc-8.6.5"
|
||||
addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
|
||||
|
||||
before_install:
|
||||
- mkdir -p $HOME/.local/bin
|
||||
@ -29,19 +33,19 @@ before_install:
|
||||
- cabal --version
|
||||
|
||||
install:
|
||||
- cabal new-update -v
|
||||
- cabal new-configure --enable-tests --enable-benchmarks --disable-optimization --write-ghc-environment-files=always --jobs=2
|
||||
- cabal new-build --only-dependencies
|
||||
- cabal v2-update -v
|
||||
- cabal v2-configure --enable-tests --enable-benchmarks --disable-optimization --write-ghc-environment-files=always --jobs=2
|
||||
- cabal v2-build --only-dependencies
|
||||
|
||||
script:
|
||||
- cabal new-build
|
||||
- cabal new-run semantic:test
|
||||
- cabal new-run semantic-core:test
|
||||
- cabal new-run semantic-python:test
|
||||
- cabal new-run semantic-source:test
|
||||
- cabal new-run semantic-source:doctest
|
||||
- cabal v2-build
|
||||
- cabal v2-run semantic:test
|
||||
- cabal v2-run semantic-core:test
|
||||
- cabal v2-run semantic-python:test
|
||||
- cabal v2-run semantic-source:test
|
||||
- cabal v2-run semantic-source:doctest
|
||||
# parse-examples is disabled because it slaughters our CI
|
||||
# - cabal new-run semantic:parse-examples
|
||||
# - cabal v2-run semantic:parse-examples
|
||||
# Downloads an hlint binary rather than going through cabal-install
|
||||
- curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s src semantic-python
|
||||
|
||||
|
@ -16,6 +16,8 @@ copyright: (c) 2019 GitHub, Inc.
|
||||
category: Language
|
||||
extra-source-files: CHANGELOG.md
|
||||
|
||||
tested-with: GHC == 8.6.5
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
-- other-modules:
|
||||
|
@ -16,7 +16,7 @@ build-type: Simple
|
||||
stability: alpha
|
||||
extra-source-files: README.md
|
||||
|
||||
tested-with: GHC == 8.6.4
|
||||
tested-with: GHC == 8.6.5
|
||||
|
||||
common haskell
|
||||
default-language: Haskell2010
|
||||
|
@ -16,7 +16,7 @@ build-type: Simple
|
||||
stability: alpha
|
||||
extra-source-files: README.md
|
||||
|
||||
tested-with: GHC == 8.6.4
|
||||
tested-with: GHC == 8.6.5
|
||||
|
||||
flag release
|
||||
description: Build with optimizations on (for CI or deployment builds)
|
||||
|
Loading…
Reference in New Issue
Block a user