.travis.yml: test ipython examples before full build

This commit is contained in:
Vaibhav Sagar 2020-04-30 20:53:10 +08:00
parent bbd63d8089
commit e5ca9a44c9

View File

@ -64,6 +64,8 @@ matrix:
- stack build --dependencies-only
script:
# Ensure that ipython-kernel examples build successfully.
- stack build ipython-kernel --flag ipython-kernel:examples
- stack test --no-terminal
- |
set -e
@ -71,9 +73,6 @@ matrix:
TOP=$(pwd)
stack build --no-terminal
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install
@ -141,6 +140,8 @@ matrix:
- stack build --dependencies-only
script:
# Ensure that ipython-kernel examples build successfully.
- stack build ipython-kernel --flag ipython-kernel:examples
- stack test --no-terminal
- |
set -e
@ -148,9 +149,6 @@ matrix:
TOP=$(pwd)
stack build --no-terminal
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install
@ -218,6 +216,8 @@ matrix:
- stack build --dependencies-only
script:
# Ensure that ipython-kernel examples build successfully.
- stack build ipython-kernel --flag ipython-kernel:examples
- stack test --no-terminal
- |
set -e
@ -225,9 +225,6 @@ matrix:
TOP=$(pwd)
stack build --no-terminal
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install
@ -295,6 +292,8 @@ matrix:
- stack build --dependencies-only
script:
# Ensure that ipython-kernel examples build successfully.
- stack build ipython-kernel --flag ipython-kernel:examples
- stack test --no-terminal
- |
set -e
@ -302,9 +301,6 @@ matrix:
TOP=$(pwd)
stack build --no-terminal
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install
@ -372,6 +368,8 @@ matrix:
- stack build --dependencies-only
script:
# Ensure that ipython-kernel examples build successfully.
- stack build ipython-kernel --flag ipython-kernel:examples
- stack test --no-terminal
- |
set -e
@ -379,9 +377,6 @@ matrix:
TOP=$(pwd)
stack build --no-terminal
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install