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
John MacFarlane
f49ed2e71a
Removed cabal 1.16 cruft from .travis.yml.
2016-10-01 21:12:01 +02:00
Jesse Rosenthal
8701899b52
Remove 7.6 build from .travis.yaml
...
We are dropping support for ghc < 7.8
2016-09-02 09:18:10 -04:00
John MacFarlane
3d86228c5b
Fixed lts6 travis build.
2016-07-14 08:46:56 -07:00
John MacFarlane
1dbbb2f41a
Travis: don't test on lts-5.
2016-07-03 13:28:28 -07:00
John MacFarlane
34510949ca
Travis: test with ghc 8.0.1, remove testing with ghc 7.4.
2016-06-04 07:36:15 -07:00
John MacFarlane
4d5450d493
Travis: use -fno-warn-unused-do-bind -Wall -Werror.
2016-03-25 12:04:27 -07:00
John MacFarlane
9f664ee6cf
Add --pedantic to stack build on travis.
...
This turns on -Wall, -Werror.
-Werror is already there for cabal builds, but for some reason
travis isn't failing when errors occur.
2016-03-25 09:14:54 -07:00
John MacFarlane
be2693bc45
Travis: run tests when compiling from tarball.
...
This should help with bugs like #2811 .
2016-03-24 09:03:13 -07:00
John MacFarlane
44bcc88d57
Don't build with lts-2 or lts-3.
2016-02-17 11:42:04 -08:00
John MacFarlane
9e3f739f11
Travis: don't build with lts-3.
...
It doesn't have recent enough dependencies.
2016-02-17 11:39:43 -08:00
John MacFarlane
dda7c27378
Travis fixes.
...
cabal sdist has problems on cabal 1.16, because of our
Text.Pandoc.Data module. So we don't test it.
2016-02-17 11:13:34 -08:00
John MacFarlane
1a87794762
Try new travis stack+cabal script.
2016-02-17 10:13:29 -08:00
John MacFarlane
a81b0932e5
Go back to testing with ghc 7.10.2.
...
Avoids the dreaded "the version of cabal being used has
changed" error.
https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/
2016-01-05 13:57:35 -08:00
John MacFarlane
e792920d4a
Regenerated .travis.yml to include 7.10.3.
2016-01-05 11:28:42 -08:00
John MacFarlane
694eb87b48
Updated .travis.yml, added ghc 7.10.3 to tested-with.
2016-01-05 10:51:16 -08:00
John MacFarlane
67b49d786c
Travis: only use ghc 7.10.2 for now.
...
We can go back to the old cabal-based travis once pandoc-types
and texmath have been released.
2015-11-21 11:04:55 -08:00
John MacFarlane
8f0490a66e
Travis: Use --system-ghc.
2015-11-21 11:02:22 -08:00
John MacFarlane
ad6a3401fb
Added sanity check in .travis.yml to diagnose problem.
2015-11-21 10:52:08 -08:00
John MacFarlane
dd2d8ff6ff
Fixed travis again.
2015-11-21 10:44:09 -08:00
John MacFarlane
e456ddbd4f
Fixed travis.
2015-11-21 10:33:16 -08:00
John MacFarlane
3f89c95a4a
Back to stack-based .travis.yml; use stack 1.8.
2015-11-21 10:20:17 -08:00
John MacFarlane
da43c7001f
Simpler travis - build pandoc, pandoc-citeproc, texmath together.
...
No caching.
This is temporary until we release pandoc-types and texmath.
2015-11-21 09:15:34 -08:00
John MacFarlane
99bc204e8b
Travis, make_travis_yml: reverted addition of 'cabal test' in tgz.
2015-11-21 08:45:38 -08:00
John MacFarlane
1494097ffc
Further travis tweaks.
2015-11-21 07:45:56 -08:00