.travis.yml: test notebook conversion with GHC 8.6 (#1102)

* .travis.yml: test notebook conversion with GHC 8.6

* test/acceptance.nbconvert.sh: ignore different line numbers for HLint
This commit is contained in:
Vaibhav Sagar 2019-10-04 15:24:58 -04:00 committed by GitHub
parent 46d12d0193
commit 6df9a67dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ matrix:
stack exec -- ihaskell install --stack
test/acceptance.nbconvert.sh stack exec -- jupyter nbconvert
fi
- env: DISPLAY=false USE_STACK_YAML="stack.yaml" # GHC 8.6.5
- env: DISPLAY=true USE_STACK_YAML="stack.yaml" # GHC 8.6.5
language: python
dist: xenial
# Test against different stack LTS versions.

View File

@ -29,5 +29,5 @@ set -euo pipefail
$* --to=notebook --execute --allow-errors --stdout test/acceptance.nbconvert.in.ipynb > test/acceptance.nbconvert.out.ipynb
diff <(grep -v 'version' test/acceptance.nbconvert.in.ipynb) <(grep -v 'version' test/acceptance.nbconvert.out.ipynb)
diff <(grep -v -e 'version' -e 'Line ' test/acceptance.nbconvert.in.ipynb) <(grep -v -e 'version' -e 'Line ' test/acceptance.nbconvert.out.ipynb)