Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Haskell
ghcup
Commits
866f0854
Verified
Commit
866f0854
authored
6 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Fix travis
parent
2193b428
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.sh
+10
-11
10 additions, 11 deletions
.travis.sh
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
with
11 additions
and
11 deletions
.travis.sh
+
10
−
11
View file @
866f0854
...
...
@@ -23,29 +23,28 @@ edo ./ghcup -v rm 8.4.3
edo ./ghcup
-v
set
8.2.2
export
PATH
=
"
$HOME
/.cabal/bin:
$HOME
/.ghcup/bin:
$HOME
/.local/bin:
$PATH
"
edo
mkdir
-p
"
$HOME
"
/.local/bin
edo
cp
./ghcup
"
$HOME
"
/.local/bin/ghcup
# TODO: exceeds maximum time limit of travis
# compile GHC from source
#./ghcup -v compile 8.4.3 ghc-8.2.2
# install cabal-install
edo ./ghcup
-v
install-cabal
edo cabal update
edo cabal
install
cabal-install
# https://github.com/haskell/cabal/issues/5516
edo
mkdir
-p
~/.cabal/store/ghc-8.2.2/package.db
edo cabal new-update
edo ghcup
-v
install-cabal
# install shellcheck
edo cabal new-install ShellCheck
edo wget https://storage.googleapis.com/shellcheck/shellcheck-latest.linux.x86_64.tar.xz
edo
tar
-xJf
shellcheck-latest.linux.x86_64.tar.xz
edo
mv
shellcheck-latest/shellcheck
"
$HOME
"
/.local/bin/shellcheck
# check our script for errors
edo shellcheck ghcup
# self update
edo
mkdir
-p
"
$HOME
"
/.local/bin
edo ./ghcup self-update
edo ghcup self-update
edo ghcup show
edo ghc
--version
This diff is collapsed.
Click to expand it.
.travis.yml
+
1
−
0
View file @
866f0854
...
...
@@ -23,6 +23,7 @@ addons:
-
make
-
ncurses-dev
-
python3
-
realpath
-
xz-utils
# TODO: also run checkbashisms.pl (currently two instances of non-compliance)
...
...
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