Permalink
Browse files

Parallel build on CI

  • Loading branch information...
dahlia committed Oct 25, 2017
1 parent 0536079 commit c59569b59b21631c27e7e795d3bf6ecbc00c813f
Showing with 4 additions and 2 deletions.
  1. +2 −1 .travis.yml
  2. +2 −1 appveyor.yml
View
@@ -20,6 +20,7 @@ env:
- PIP_MINVER=9.0.1 SETUPTOOLS_MINVER=36.6.0
cache:
directories:
- "$HOME/.cabal"
- "$HOME/.stack"
- "$HOME/.ghc"
- "$HOME/Library/Caches/Homebrew"
@@ -63,7 +64,7 @@ install:
- python3 -m pip install --user --upgrade tox "pip>=$PIP_MINVER" setuptools
- travis_long stack --no-terminal setup
- travis_long stack --no-terminal install scan -j4
- travis_long stack --no-terminal install --only-dependencies
- travis_long stack --no-terminal install -j4 --only-dependencies
script:
- 'TOX="$(which tox)" stack --no-terminal test -j4 --coverage'
- ./lint.sh
View
@@ -31,8 +31,9 @@ install:
$env:PATH = $env:STACK_ROOT + ';C:\msys64\usr\bin;' + $env:PATH;
- if not exist "%LOCALAPPDATA%\Programs\stack" ( stack --no-terminal --skip-msys setup )
- C:\Python36\python -m pip install --upgrade tox pip setuptools
- stack --no-terminal install -j4 --only-dependencies
build_script:
- stack --no-terminal build --copy-bins
- stack --no-terminal build -j4 --copy-bins
after_build:
- stack --skip-msys --no-terminal path --local-bin
- ps: ls $(stack path --skip-msys --no-terminal --local-bin)

0 comments on commit c59569b

Please sign in to comment.