Commit graph

234 commits

Author SHA1 Message Date
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
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
John MacFarlane
19440cd5dc Undid last travis changes. 2017-08-22 10:07:25 -07:00
John MacFarlane
c5bb16b06b Travis: Removed sudos. 2017-08-22 09:46:54 -07:00
John MacFarlane
761a61b53e Travis: shut down essential services and show memory.
Also after failure.
2017-08-22 09:39:36 -07:00
John MacFarlane
d3df168896 Travis: use lts-9 with ghc 8.0.2 stack build. Remove swap stuff.
It didn't help.
2017-08-21 22:20:54 -07:00
John MacFarlane
c462fcafef travis: create some swap space.
This may help with regex-tdfa build failures...
2017-08-21 21:24:21 -07:00
John MacFarlane
198f2097d9 Travis: try a cabal build without embed_data_files. 2017-08-11 23:00:54 -07:00
John MacFarlane
400a4ef5f3 Travis: more options tweaks. 2017-08-08 23:18:52 -07:00
John MacFarlane
005aba43df Travis: don't use -Wincomplete-uni-patterns. 2017-08-08 22:42:50 -07:00
John MacFarlane
2d47306b1f Travis: Don't use -Wcompat. 2017-08-08 22:40:38 -07:00
John MacFarlane
c3e6eacdc8 Travis: only use fancy warnings for recent ghc. 2017-08-08 21:24:55 -07:00
John MacFarlane
2f0bff0f54 Use extra ghc warnings.
In addition to `-Wall`:
 `-Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances`
2017-08-08 20:29:37 -07:00
John MacFarlane
862d92f09a Revert "Travis: Try not caching .cabal."
This reverts commit 5370c38203.
2017-07-24 18:45:49 +02:00
John MacFarlane
54777dfbd1 Revert "Travis: try not caching .ghc."
This reverts commit 434309802c.
2017-07-24 18:45:42 +02:00
John MacFarlane
434309802c Travis: try not caching .ghc. 2017-07-24 17:32:17 +02:00
John MacFarlane
5370c38203 Travis: Try not caching .cabal.
Hoping this solves the problems with recent builds.
2017-07-24 16:30:56 +02:00
John MacFarlane
214e7919b7 Revert "Use cabal-2.0 for 8.2.1 (#3814)"
This reverts commit d8f07fad09.
2017-07-24 11:45:54 +02:00
Matthew Pickering
d8f07fad09 Use cabal-2.0 for 8.2.1 (#3814) 2017-07-24 00:11:30 +02:00
John MacFarlane
3267af23f0 Travis: Removed ghc 8.2.1 build from allowed failures. 2017-07-15 19:39:58 +02:00
John MacFarlane
247257ed3e Travis: cabal build for ghc 8.2.1 RC. 2017-07-13 21:51:26 +02:00
John MacFarlane
9c79a518ac Revert "Added a travis build on ghc 8.2 release candidate."
This reverts commit 62915a8af1.
2017-07-13 21:49:37 +02:00
John MacFarlane
62915a8af1 Added a travis build on ghc 8.2 release candidate. 2017-07-13 21:43:24 +02:00
John MacFarlane
3890e50f11 .travis.yml - removed hsb2hs stuff. 2017-06-04 15:59:05 +02:00
John MacFarlane
a85d7849fc More travis fixes. 2017-03-20 17:22:48 +01:00
John MacFarlane
9836111cd2 Travis: install hsb2hs. 2017-03-20 16:19:19 +01:00
John MacFarlane
7f89792d9a More travis fixes. 2017-03-20 16:07:17 +01:00
John MacFarlane
757edd0525 More travis fixes. 2017-03-20 15:55:42 +01:00
John MacFarlane
5a1c9109e0 Fixed .travis.yml. 2017-03-20 15:43:15 +01:00
John MacFarlane
51ed4a98a9 .travis.yml: create a source dist and do cabal build and test there.
That way we catch errors due to files missing from the data
section of pandoc.cabal.
2017-03-20 15:24:16 +01:00
John MacFarlane
5487190d69 Travis: Remove GHC HEAD build.
This pretty much always fails due to dependencies.
2017-03-08 12:57:49 +01:00
John MacFarlane
19ad29f493 Travis: comment out OSX build.
This always takes forever to complete.
Since I develop on OSX anyway, it's not so urgent.
2017-03-08 12:57:07 +01:00
John MacFarlane
b6ad920db8 Travis: move 7.8.4 out of allowed-failures. 2017-02-20 16:39:37 +01:00
John MacFarlane
56474b91f2 Travis: remove 8.0.1 build. 2017-02-20 16:34:53 +01:00
John MacFarlane
1e694805a1 stack.yamls: Use lts-8.0. 2017-02-12 19:16:53 +01:00
John MacFarlane
7e60fd224e Travis: allow ghc 7.8.4 to fail. For now anyway. 2017-01-25 17:07:41 +01:00
ickc
74875695e2 travis: catch #3372 (#3373) 2017-01-24 10:29:54 +01:00
ickc
117f3d2323 travis: download stack only in stack BUILD (#3357) 2017-01-17 14:09:02 +01:00
John MacFarlane
d1e957775a Travis: fix false positives and speed up dist build by avoiding tests. 2016-12-30 21:18:47 -07:00
John MacFarlane
8f09a2b010 Travis: add path to happy to path. 2016-12-24 14:41:13 -07:00
John MacFarlane
b872765765 Added happy to travis deb pkgs. 2016-12-23 21:16:17 -07:00
ickc
3354f5a0ca Speed up Travis (#3304)
* travis: fast_finish

* travis: cabal use `-j` whenever appropriate

* travis: remove stack nightly in osx build to speed up
2016-12-13 14:19:25 +01:00
ickc
fdc5674045 travis: use language generic (#3267) 2016-11-30 12:46:50 +01:00
John MacFarlane
99287f4754 Add comment acknowledging source of .travis.yml. 2016-11-16 12:00:12 +01:00
John MacFarlane
5ec7331349 Travis: Set ulimit -n 4096 before build. This seems necessary on OSX. 2016-10-23 21:56:08 +02:00
John MacFarlane
95d3966601 Travis: add to end of path to avoid a warning. 2016-10-23 21:51:07 +02:00
John MacFarlane
f11d7c2478 Travis tweaks.
Disable optimizations.
Make sure we don't change flag on aeson.
2016-10-18 10:09:01 +02:00
John MacFarlane
bd1dcd6fe8 Travis: fixed --flag argument in stack. 2016-10-16 21:54:00 +02:00
John MacFarlane
4a25342ae0 Travis: Use fast flag for aeson.
This dramatically speeds up the build, according to the
aeson changelog.
2016-10-15 14:43:39 +02:00
John MacFarlane
85cf7b165a Travis: test with lts-7 not lts-6. 2016-10-14 09:14:17 +02:00