Commit graph

182 commits

Author SHA1 Message Date
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
John MacFarlane
7ada0d11aa Allow travis ghc 8.0.2 cabal build to fail. It always times out. 2017-10-10 09:02:42 -07:00
John MacFarlane
4a7b039f2d Travis: added some 'date' commands...
so we can try to see why builds are failing with timeout.
2017-10-09 09:08:33 -07:00
John MacFarlane
9b69e6bdf2 travis: try removing travis_wait. 2017-10-03 20:44:27 -07:00
John MacFarlane
aad9288f97 Travis: don't turn on -Werror for dependencies! 2017-10-03 11:35:55 -07:00
John MacFarlane
7a4ab4f3b5 Travis: don't build benchmarks on ghc 7.10.3 or 8.0.2.
The build is timing out, maybe this will help.
2017-10-03 11:20:44 -07:00
John MacFarlane
394b1985b1 Travis: add travis_wait to prevent timing out if no output. 2017-09-27 20:25:53 -07:00
John MacFarlane
ef209ebad2 Add a travis build for ghc 8.2.1 + cabal 2.0. 2017-08-25 07:02:43 -07:00
John MacFarlane
5a62f91434 Tweak travis stack build command (test --test -> build --test). 2017-08-23 07:09:56 -07:00
Albert Krewinkel
f1220e8601
Revert "Build GHC 8.2.1 with one core only"
This reverts commit 9930e8582d. This was
intended for testing only and was pushed by mistake.
2017-08-23 11:06:16 +02:00
Albert Krewinkel
9930e8582d
Build GHC 8.2.1 with one core only
Avoid out-of-memory error on travis.
2017-08-23 09:17:14 +02:00
John MacFarlane
915f201c78 Travis: Use ghc 8.2.1 in nightly stack build. 2017-08-22 11:03:49 -07:00