Commit 6659dd83 authored by Sumit Sahrawat's avatar Sumit Sahrawat

Fix examples & add them to travis build

parent 8e381a7f
...@@ -72,6 +72,9 @@ script: ...@@ -72,6 +72,9 @@ script:
cd "$TOP"; cd "$TOP";
done done
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged. # Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one. # Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install --stack-yaml=stack-full.yaml stack install --stack-yaml=stack-full.yaml
......
...@@ -233,6 +233,10 @@ mkConfig var = KernelConfig ...@@ -233,6 +233,10 @@ mkConfig var = KernelConfig
, inspectInfo = langInfo , inspectInfo = langInfo
, run = parseAndRun , run = parseAndRun
, debug = False , debug = False
, kernelBanner = "Expanded Hutton's Razor"
, kernelProtocolVersion = "5.0"
, kernelImplName = "expanded_huttons_razor"
, kernelImplVersion = "0.0"
} }
where where
displayRes (Left err) = displayRes (Left err) =
......
...@@ -130,6 +130,10 @@ simpleConfig = KernelConfig ...@@ -130,6 +130,10 @@ simpleConfig = KernelConfig
, inspectInfo = languageInspect , inspectInfo = languageInspect
, run = languageRun , run = languageRun
, debug = False , debug = False
, kernelBanner = "Simple Arithmetic Expressions"
, kernelProtocolVersion = "5.0"
, kernelImplName = "funcalc"
, kernelImplVersion = "0.0"
} }
main :: IO () main :: IO ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment