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
6b5f6785
Commit
6b5f6785
authored
Apr 07, 2015
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #470 from gibiansky/ghc710-travis
Adding GHC 7.10 to travis tests
parents
90731e9a
7fde48c3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
.travis.yml
.travis.yml
+5
-2
Hspec.hs
Hspec.hs
+1
-1
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+3
-2
Hoogle.hs
src/IHaskell/Eval/Hoogle.hs
+1
-1
No files found.
.travis.yml
View file @
6b5f6785
...
...
@@ -5,7 +5,7 @@
env
:
-
CABALVER=1.18 GHCVER=7.6.3
-
CABALVER=1.18 GHCVER=7.8.4
# see note about Alex/Happy for GHC >= 7.8
#
- CABALVER=1.22 GHCVER=7.10.1
-
CABALVER=1.22 GHCVER=7.10.1
# - CABALVER=head GHCVER=head # see section about GHC HEAD snapshots
# Note: the distinction between `before_install` and `install` is not important.
...
...
@@ -51,7 +51,10 @@ script:
# Build and run the test suite
-
travis_retry cabal install --only-dependencies --enable-tests
-
travis_retry cabal configure --enable-tests
-
travis_retry cabal test --show-details=always
-
|
if [ ${GHCVER%.*} = "7.8" ]; then
travis_retry cabal test --show-details=always
fi
-
|
if [ ${GHCVER%.*} = "7.8" ]; then
./verify_formatting.py
...
...
Hspec.hs
View file @
6b5f6785
...
...
@@ -2,7 +2,7 @@
-- Keep all the language pragmas here so it can be compiled separately.
module
Main
where
import
Prelude
import
GHC
import
GHC
hiding
(
Qualified
)
import
GHC.Paths
import
Data.IORef
import
Control.Monad
...
...
src/IHaskell/Eval/Evaluate.hs
View file @
6b5f6785
...
...
@@ -183,8 +183,9 @@ initializeImports = do
pkg
<-
db
depId
<-
depends
pkg
dep
<-
filter
((
==
depId
)
.
installedPackageId
)
db
guard
(
iHaskellPkgName
`
isPrefixOf
`
packageIdString
(
packageConfigId
dep
))
let
idString
=
packageIdString'
dflags
(
packageConfigId
dep
)
guard
(
iHaskellPkgName
`
isPrefixOf
`
idString
)
-- ideally the Paths_ihaskell module could provide a way to get the hash too
-- (ihaskell-0.2.0.5-f2bce922fa881611f72dfc4a854353b9), for now. Things will end badly if you also
...
...
src/IHaskell/Eval/Hoogle.hs
View file @
6b5f6785
...
...
@@ -66,7 +66,7 @@ query str = do
urlEncode
::
String
->
String
urlEncode
[]
=
[]
urlEncode
(
ch
:
t
)
|
(
isAscii
ch
&&
isAlphaNum
ch
)
||
ch
`
P
.
elem
`
"-_.~"
=
ch
:
urlEncode
t
|
(
isAscii
ch
&&
isAlphaNum
ch
)
||
ch
`
P
.
elem
`
(
"-_.~"
::
String
)
=
ch
:
urlEncode
t
|
not
(
isAscii
ch
)
=
P
.
foldr
escape
(
urlEncode
t
)
(
eightBs
[]
(
P
.
fromEnum
ch
))
|
otherwise
=
escape
(
P
.
fromEnum
ch
)
(
urlEncode
t
)
where
...
...
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