Commit graph

193 commits

Author SHA1 Message Date
John MacFarlane
732e66d4c4 travis: small simplification. 2018-06-30 23:08:17 +02:00
John MacFarlane
3b2ab75712 Revert "Travis: use -j2 for dependencies installation."
This reverts commit ae9d9138c3.
2018-06-30 22:35:56 +02:00
John MacFarlane
ae9d9138c3 Travis: use -j2 for dependencies installation.
Remove special clause for ghc 7.10.
2018-06-30 12:12:36 +02:00
John MacFarlane
ce83a128e1 Use ghc 8.4.2 in travis and tested-with.
8.4.1 shipped with the wrong version of mtl, which didn't
match its documented API.
2018-06-30 10:00:28 +02:00
John MacFarlane
afb1241edc Revert "travis: try adding 'ghc-pkg recache'."
This reverts commit 57978fa3b3.
2018-06-29 19:56:20 +02:00
John MacFarlane
57978fa3b3 travis: try adding 'ghc-pkg recache'. 2018-06-29 19:51:12 +02:00
John MacFarlane
f0a1c42e4e travis: try installing specific yaml version... 2018-06-29 19:42:48 +02:00
John MacFarlane
ee169135a1 For ghc 7.10.3, try installing yaml first... 2018-06-29 19:31:37 +02:00
John MacFarlane
bb5a2464d5 travis: Reduce verbosity. 2018-06-28 23:57:59 +02:00
John MacFarlane
7b3cc7d1a9 travis: Try not using --only-dependencies with ghc 7.10. 2018-06-28 17:25:31 +02:00
John MacFarlane
013847554e Revert "Travis: use cabal 2.2 with ghc 7.10."
This reverts commit 3b590b6da2.
2018-06-28 17:20:35 +02:00
John MacFarlane
72a76d5187 Revert "travis: REALLY use cabal 2.2 with ghc 7.10."
This reverts commit f6465e02a6.
2018-06-28 17:20:29 +02:00
John MacFarlane
f6465e02a6 travis: REALLY use cabal 2.2 with ghc 7.10. 2018-06-28 17:11:44 +02:00
John MacFarlane
3b590b6da2 Travis: use cabal 2.2 with ghc 7.10.
See if that fixes:

cabal: Cannot select only the dependencies (as requested by the
'--only-dependencies' flag), the packages are required by a dependency of one
of the other targets.
2018-06-28 16:52:06 +02:00
John MacFarlane
80cf217c76 travis: revert --enable-per-component, add -v2. 2018-06-28 15:05:58 +02:00
John MacFarlane
2c30507294 travis: try using --enable-per-component.
I'm hoping this fixes the problem with the ghc 7.10 builds.
2018-06-28 14:54:38 +02:00
John MacFarlane
daeb03dcce Revert "travis: Install Cabal library before anything else."
This reverts commit 6b43a01a3c.
2018-06-28 14:49:36 +02:00
John MacFarlane
7027525151 travis: remove redundant build, use cabal 2.2 with ghc 8.4. 2018-06-28 13:32:53 +02:00
John MacFarlane
6b43a01a3c travis: Install Cabal library before anything else.
I'm hoping this fixes the issue with travis
builds with earlier ghc versions.

See https://github.com/haskell/cabal/issues/4456
2018-06-28 12:41:06 +02:00
John MacFarlane
4a712b476d Revert "travis: Remove '--only-dependencies' step for cabal."
This reverts commit 3804a191c7.
2018-06-28 12:30:02 +02:00
John MacFarlane
fde0df1cb1 Revert "Travis: Install Cabal library."
This reverts commit 52d3c9ed87.
2018-06-28 12:29:57 +02:00
John MacFarlane
52d3c9ed87 Travis: Install Cabal library. 2018-06-28 12:25:36 +02:00
John MacFarlane
3804a191c7 travis: Remove '--only-dependencies' step for cabal.
Due to cabal changes, this no longer seems to work.
We get:

> cabal: Cannot select only the dependencies (as requested by the
> '--only-dependencies' flag), the packages are required by a dependency of one
> of the other targets.

I suspect this is because the executable depends on the library?
2018-06-28 12:05:39 +02:00
John MacFarlane
f4b71d94f7 Travis: Added /opt/cabal/bin to path. 2018-05-30 14:30:55 -07:00
John MacFarlane
a8e1966857 Fixed cabal versions in travis. 2018-05-30 13:32:51 -07:00
John MacFarlane
efe3575796 Use cabal 2.0 in travis. 2018-05-30 13:17:05 -07:00
John MacFarlane
c92f7b3fd3 Travis: hide successes on tests. 2018-04-22 09:10:53 -07:00
John MacFarlane
daa5475620 Travis: add ghc 8.4.1 cabal build. 2018-03-15 23:49:48 -07:00
John MacFarlane
5a56819894 Travis: ensure nightly builds can fail. 2018-02-16 11:04:50 -08:00
John MacFarlane
0e16155aaf Remove custom prelude and ghc 7.8 support. 2018-01-14 23:31:49 -08:00
John MacFarlane
509e88374b Revert "Travis: try running tests single-threaded."
This reverts commit 84a4d3685c.
2018-01-01 21:17:19 -08:00
John MacFarlane
84a4d3685c Travis: try running tests single-threaded.
This should ensure continuous output, so we don't have 10m blank
spots which cause travis to kill.
2018-01-01 20:22:03 -08:00
John MacFarlane
6db422abbe Revert "Revert "Travis: removed lts-9 build.""
This reverts commit 915775b8b0.
2017-12-28 15:31:01 -08:00
John MacFarlane
915775b8b0 Revert "Travis: removed lts-9 build."
This reverts commit 2278cd5e77.
2017-12-28 15:29:16 -08:00
John MacFarlane
2278cd5e77 Travis: removed lts-9 build. 2017-12-28 08:30:21 -08:00
John MacFarlane
bbf1192b86 Travis: do a stack build with lts-9. Use system ghc. 2017-12-27 23:41:31 -08:00
John MacFarlane
2b2dae8b47 Travis: use --jobs=2 for installing dependencies.
In hopes this will help with the OOM problems.
2017-12-20 12:35:58 -08:00
John MacFarlane
ac202e648b Stack builds with lts-10.0. 2017-12-19 22:28:25 -08:00
John MacFarlane
bd1713a21b Travis: fix path to ensure that installed ghc is first in path. 2017-12-08 16:34:28 -08:00
John MacFarlane
459b2742cf Travis: Use ghc 8.2.2 instead of 8.2.1. 2017-11-27 16:43:41 -08:00
John MacFarlane
a30612ea1b Travis stack nightly build: switch to ghc 8.2.2. 2017-11-27 16:23:18 -08:00
John MacFarlane
3720005c53 .travis.yml - move 7.10 and 8.0 out of accepted failures. 2017-10-12 21:57:51 -07:00
John MacFarlane
7e0167dccc .travis.yml - use -j2 on build. 2017-10-12 15:27:35 -07:00
John MacFarlane
c3dca0923c More travis tweaks. 2017-10-12 15:15:40 -07:00
John MacFarlane
9adc07850c .travis.yml - try with -j1. 2017-10-12 13:58:54 -07:00
John MacFarlane
ef6a9266a7 More travis tweaks: try without -j, add -O0 again. 2017-10-12 13:07:07 -07:00
John MacFarlane
895936948b .travis.yml - use --fast and --disable-optimization rather than -O0. 2017-10-12 12:25:34 -07:00
John MacFarlane
5c7308c572 .travis.yml - use -v3 in cabal builds to debug. 2017-10-12 12:13:32 -07:00
John MacFarlane
d94116bf47 .travis.yml tweaks: use ulimit, --ghc-options for cabal build. 2017-10-12 11:54:45 -07:00
John MacFarlane
71e4543cc0 Travis: allow failure for ghc 7.10.3 build. 2017-10-11 16:04:27 -07:00