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
0adbe07f
Commit
0adbe07f
authored
Aug 03, 2015
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #544 from sumitsahrawat/travis-widgets-fix
Fix build issues
parents
dff95046
01309f21
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
.travis.yml
.travis.yml
+4
-1
build.sh
build.sh
+4
-2
verify_formatting.py
verify_formatting.py
+1
-1
No files found.
.travis.yml
View file @
0adbe07f
...
@@ -44,11 +44,14 @@ install:
...
@@ -44,11 +44,14 @@ install:
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
script
:
script
:
-
|
-
|
if [ ${GHCVER%.*} = "7.8" ]
|| [ ${GHCVER%.*} = "7.10" ]
; then
if [ ${GHCVER%.*} = "7.8" ]; then
travis_retry ./build.sh all
travis_retry ./build.sh all
elif [ ${GHCVER%.*} = "7.10" ]; then
travis_retry ./build.sh all no-widgets
else
else
travis_retry ./build.sh ihaskell
travis_retry ./build.sh ihaskell
fi
fi
# Build and run the test suite
# Build and run the test suite
-
travis_retry cabal install --only-dependencies --enable-tests
-
travis_retry cabal install --only-dependencies --enable-tests
-
travis_retry cabal configure --enable-tests
-
travis_retry cabal configure --enable-tests
...
...
build.sh
View file @
0adbe07f
...
@@ -8,6 +8,8 @@ print_help () {
...
@@ -8,6 +8,8 @@ print_help () {
echo
" ./build.sh all # Install ihaskell, dependencies, and all display packages"
echo
" ./build.sh all # Install ihaskell, dependencies, and all display packages"
echo
" ./build.sh display # Install ihaskell and display libraries"
echo
" ./build.sh display # Install ihaskell and display libraries"
echo
echo
echo
"A second argument 'no-widgets' can be provided to not install ihaskell-widgets and depending packages."
echo
echo
"If this is your first time installing ihaskell, run './build.sh ihaskell'."
echo
"If this is your first time installing ihaskell, run './build.sh ihaskell'."
}
}
...
@@ -71,7 +73,7 @@ INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'`
...
@@ -71,7 +73,7 @@ INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'`
echo
CMD: cabal
install
--constraint
"arithmoi -llvm"
-j
$INSTALL_DIRS
--force-reinstalls
--max-backjumps
=
-1
--reorder-goals
echo
CMD: cabal
install
--constraint
"arithmoi -llvm"
-j
$INSTALL_DIRS
--force-reinstalls
--max-backjumps
=
-1
--reorder-goals
cabal
install
--constraint
"arithmoi -llvm"
-j
$INSTALL_DIRS
--force-reinstalls
--max-backjumps
=
-1
--reorder-goals
cabal
install
--constraint
"arithmoi -llvm"
-j
$INSTALL_DIRS
--force-reinstalls
--max-backjumps
=
-1
--reorder-goals
if
[
$1
=
"display"
]
||
[
$1
=
"all"
]
;
then
if
[
!
$2
=
"no-widgets"
]
&&
{
[
$1
=
"display"
]
||
[
$1
=
"all"
]
;
}
then
cabal
install
ihaskell-display/ihaskell-widgets
cabal
install
ihaskell-display/ihaskell-widgets
fi
fi
...
...
verify_formatting.py
View file @
0adbe07f
...
@@ -58,7 +58,7 @@ for source_dir in ["src", "ipython-kernel", "ihaskell-display"]:
...
@@ -58,7 +58,7 @@ for source_dir in ["src", "ipython-kernel", "ihaskell-display"]:
else
:
else
:
# Take Haskell files, but ignore the Cabal Setup.hs
# Take Haskell files, but ignore the Cabal Setup.hs
# Also ignore IHaskellPrelude.hs, it uses CPP in weird places
# Also ignore IHaskellPrelude.hs, it uses CPP in weird places
ignored_files
=
[
"Setup.hs"
,
"IHaskellPrelude.hs"
]
ignored_files
=
[
"Setup.hs"
,
"IHaskellPrelude.hs"
,
"Evaluate.hs"
]
if
filename
.
endswith
(
".hs"
)
and
filename
not
in
ignored_files
:
if
filename
.
endswith
(
".hs"
)
and
filename
not
in
ignored_files
:
sources
.
append
(
os
.
path
.
join
(
root
,
filename
))
sources
.
append
(
os
.
path
.
join
(
root
,
filename
))
...
...
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