Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
081722fa
Commit
081722fa
authored
Oct 05, 2019
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.travis.yml: test with GHC 8.8.1
parent
85acd85c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
0 deletions
+130
-0
.travis.yml
.travis.yml
+77
-0
stack-8.8.yaml
stack-8.8.yaml
+53
-0
No files found.
.travis.yml
View file @
081722fa
...
@@ -245,6 +245,83 @@ matrix:
...
@@ -245,6 +245,83 @@ matrix:
# Enable caching.
# Enable caching.
sudo
:
false
sudo
:
false
# Caching so the next build will be fast too.
# These caches are the same between resolvers, but this is fine,
# as Stack differentiates between its resolvers.
cache
:
directories
:
-
$HOME/.ghc
-
$HOME/.cabal
-
$HOME/.stack
# Enable packages we need.
# Not all packages are available – see before_install for from-source builds.
addons
:
apt
:
packages
:
-
libmagic-dev
# magic
-
libgmp-dev
# ghc
-
libblas-dev
# hmatrix
-
liblapack-dev
# hmatrix
-
libcairo2-dev
# cairo
-
libpango1.0-dev
# pango
-
libzmq3-dev
# zmq
before_install
:
# Download and unpack the stack executable
-
export PATH=$HOME/.local/bin:$PATH
-
mkdir -p ~/.local/bin
-
curl -L https://github.com/commercialhaskell/stack/releases/download/v1.9.3/stack-1.9.3-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
# Upgrades to avoid later build problems
-
pip install -U pip
-
pip install -U setuptools
# Install from requirements.txt
-
pip install -r requirements.txt
# This step takes the longest, and is what generates the Stack cache.
install
:
-
|
# Used to avoid 'source and destination file are the same' error
mv $USE_STACK_YAML intermediate-stack.yaml
mv intermediate-stack.yaml stack.yaml
echo "apply-ghc-options: everything" >> stack.yaml
-
stack setup
# - stack install gtk2hs-buildtools --fast
-
stack build hmatrix --fast
-
stack build --dependencies-only --fast
script
:
-
stack test --no-terminal --fast
-
|
set -e
if $DISPLAY; then
TOP=$(pwd)
stack build --no-terminal --fast
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples --fast
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install --fast
stack exec -- ihaskell install --stack
test/acceptance.nbconvert.sh stack exec -- jupyter nbconvert
fi
-
env
:
DISPLAY=true USE_STACK_YAML="stack-8.8.yaml"
# GHC 8.8.1
language
:
python
dist
:
xenial
# Test against different stack LTS versions.
# Choose a lightweight base image; we provide our own build tools.
python
:
"
3.6"
# Enable caching.
sudo
:
false
# Caching so the next build will be fast too.
# Caching so the next build will be fast too.
# These caches are the same between resolvers, but this is fine,
# These caches are the same between resolvers, but this is fine,
# as Stack differentiates between its resolvers.
# as Stack differentiates between its resolvers.
...
...
stack-8.8.yaml
0 → 100644
View file @
081722fa
resolver
:
nightly-2019-10-05
flags
:
{}
packages
:
-
.
-
./ipython-kernel
-
./ghc-parser
# - ./ihaskell-display/ihaskell-aeson
# - ./ihaskell-display/ihaskell-blaze
# - ./ihaskell-display/ihaskell-charts
# - ./ihaskell-display/ihaskell-diagrams
# - ./ihaskell-display/ihaskell-gnuplot
# - ./ihaskell-display/ihaskell-hatex
# - ./ihaskell-display/ihaskell-juicypixels
# - ./ihaskell-display/ihaskell-magic
# - ./ihaskell-display/ihaskell-plot
# - ./ihaskell-display/ihaskell-static-canvas
# - ./ihaskell-display/ihaskell-widgets
# extra-deps:
# - Chart-cairo-1.9.1
# - diagrams-cairo-1.4.1
# - cairo-0.13.6.0
# - pango-0.13.6.0
# - glib-0.13.7.0
# - gtk2hs-buildtools-0.13.5.0
# - magic-1.1
# - plot-0.2.3.9
ghc-options
:
# Eventually we want "$locals": -Wall -Wpartial-fields -Werror
# ghc-parser: -Wall -Wpartial-fields -Werror
# ihaskell: -Wall -Wpartial-fields -Werror
# ihaskell-widgets: -Wall -Wpartial-fields -Werror
docker
:
repo
:
"
ihaskell-dev:latest"
enable
:
false
nix
:
enable
:
false
packages
:
-
blas
-
cairo
-
file
-
gcc
-
gfortran.cc.lib
-
liblapack
-
ncurses
-
pango
-
pkgconfig
-
zeromq
-
zlib
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment