Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
e9984f40
Commit
e9984f40
authored
7 years ago
by
Michael Sloan
Committed by
Mikhail Glushenkov
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use downloaded version of stack in travis CI
parent
98a143ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
travis-install.sh
+2
-1
2 additions, 1 deletion
travis-install.sh
travis-stack.sh
+3
-1
3 additions, 1 deletion
travis-stack.sh
with
5 additions
and
2 deletions
travis-install.sh
+
2
−
1
View file @
e9984f40
...
...
@@ -73,7 +73,8 @@ else # Stack-based builds
mkdir
-p
~/.local/bin
travis_retry curl
-L
https://www.stackage.org/stack/linux-x86_64
\
|
tar
xz
--wildcards
--strip-components
=
1
-C
~/.local/bin
'*/stack'
stack setup
--stack-yaml
"
$STACK_CONFIG
"
~/.local/bin/stack
--version
~/.local/bin/stack setup
--stack-yaml
"
$STACK_CONFIG
"
fi
...
...
This diff is collapsed.
Click to expand it.
travis-stack.sh
+
3
−
1
View file @
e9984f40
...
...
@@ -12,7 +12,9 @@ fi
# Build Cabal via Stack(age).
# ---------------------------------------------------------------------
stack build
\
~/.local/bin/stack
--version
~/.local/bin/stack build
\
--no-terminal
\
--stack-yaml
"
$STACK_CONFIG
"
\
--test
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment