Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christopher League
bookme
Commits
5cbb8780
Commit
5cbb8780
authored
Jun 04, 2018
by
Christopher League
Browse files
GitLab CI: workaround networking issue?
parent
300ce207
Pipeline
#526
failed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5cbb8780
image
:
haskell:8
image
:
haskell:8
# Here are two problems we're trying to solve with this before_script:=
# https://github.com/commercialhaskell/stackage/issues/3132
# https://github.com/snoyberg/http-client/issues/292
before_script
:
before_script
:
-
apt-get update
-
apt-get install build-essential
-
stack upgrade
-
stack upgrade
build
:
build
:
# For some reason, just `stack` uses the old version, so explicitly
# ask for the new one from ~/.local:
script
:
script
:
-
/root/.local/bin/stack build
-
/root/.local/bin/stack build
Write
Preview
Supports
Markdown
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