Commit graph

210 commits

Author SHA1 Message Date
John MacFarlane
f36f0b275e Fix travis problem. 2015-11-21 07:33:21 -08:00
John MacFarlane
ba2bce3abc Fixed .travis.yml syntax. 2015-11-21 07:25:41 -08:00
John MacFarlane
0ea7cce895 travis: install unreleased pandoc-types & texmath. 2015-11-21 07:19:51 -08:00
John MacFarlane
bd07432a0c Back to cabal-based .travis.yml.
Modified make_travis_yml so that we do a 'cabal test' with the
unpacked tarball.
2015-11-21 07:15:55 -08:00
John MacFarlane
d20b15b0f6 Tweaked travis.yml. 2015-11-20 22:14:57 -08:00
John MacFarlane
3ee2d62187 More travis/stack tweaks. 2015-11-20 20:50:46 -08:00
John MacFarlane
6ae21832c0 Removed ./travis_long from .travis.yml. 2015-11-20 20:34:14 -08:00
John MacFarlane
ece6b632c2 New stack-based .travis.yml.
For now, at least, we need to use stack to build in travis,
since we depend on unreleased packages.
2015-11-20 20:31:04 -08:00
John MacFarlane
384d03dcfe Revert "Give up support for ghc 7.4."
This reverts commit e0c83f74f3.
2015-11-09 10:07:52 -08:00
John MacFarlane
e0c83f74f3 Give up support for ghc 7.4. 2015-11-08 21:43:31 -08:00
John MacFarlane
2739f5ab86 travis: use -Werror even on ghc 7.10. 2015-10-14 09:11:32 -07:00
John MacFarlane
a25c565f81 Added comment in .travis.yml to explain last change. 2015-10-09 22:33:15 -07:00
John MacFarlane
fa18e3d7e1 Use dist/setup/setup/sdist instead of cabal sdist.
This should help with older versions of cabal which
can't handle custom preprocessors.

See
http://stackoverflow.com/questions/16256987/haskell-packaging-cabal-package-with-custom-preprocessors
2015-10-09 22:30:35 -07:00
John MacFarlane
3687dc36d5 Test also on ghc 7.4.2.
Made make_travis_yml.hs a bit more robust.
2015-10-09 14:44:32 -07:00
John MacFarlane
c13494c808 New .travis.yml.
Autgenerated using make_travis_yml.hs.

This script has been modified to add GHCOPTS.

'make .travis.yml' regenerates it based on the tested-with
field of the cabal file.
2015-10-08 13:39:32 -07:00
John MacFarlane
00e2ae8a67 Simplified travis.yml.
- Follows template on hvr/multi-ghc-travis.
- Don't build with ghc 7.4.2.
- Build tarball after main build.
2015-10-08 13:18:28 -07:00
John MacFarlane
fb8b7800ea Travis: use cabal-install 1.22 not head. 2015-10-08 13:09:54 -07:00
John MacFarlane
21c5b51ce2 travis: use ghc 7.10.2 instead of 7.10.1. 2015-10-08 12:30:13 -07:00
John MacFarlane
1e17922b95 Use cabal-install-head in travis for ghc 7.10.1.
See
https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/

Maybe this will fix the Cabal version mismatch problem?
2015-08-15 11:50:07 -07:00
John MacFarlane
b725b45c83 Travis: removed diagnostics, add cabal path to PATH, back to ghc 7.10.1.
ghc 7.10.2 isn't whitelisted yet.
https://github.com/travis-ci/travis-ci/issues/4478
2015-08-15 11:13:29 -07:00
John MacFarlane
3a9352957a Added some travis diagnostics. 2015-08-15 11:10:29 -07:00
John MacFarlane
cc37c5470d Travis: build with ghc 7.10.2 instead of 7.10.1. 2015-08-15 10:45:24 -07:00
John MacFarlane
02f4e640ac Revert "Travis: call test program directly rather than by cabal."
This reverts commit 8bcaea5bd1.
2015-08-08 20:39:05 -07:00
John MacFarlane
8bcaea5bd1 Travis: call test program directly rather than by cabal. 2015-08-08 15:52:28 -07:00
John MacFarlane
6e121bfafc Travis: only do sdist with cabal != 1.16. 2015-07-05 10:42:44 -07:00
John MacFarlane
edf55dcee8 Travis: reorder hsb2hs install. 2015-07-05 09:50:03 -07:00
John MacFarlane
923e65ffa8 Travis: install hsb2hs. 2015-07-04 21:50:09 -07:00
John MacFarlane
a27991d398 Try to fix travis build for ghc 7.4.2. 2015-07-03 15:56:02 -07:00
John MacFarlane
0ce6174820 Fixed travis. 2015-07-03 14:26:17 -07:00
John MacFarlane
56c270d697 Travis: build in a directory created by sdist.
This will catch packaging bugs.
2015-07-03 12:48:19 -07:00
John MacFarlane
fa76156d24 Added JOPTS to travis.
This way we can set -j2 only for GHC > 7.4.
2015-04-25 12:57:07 -07:00
John MacFarlane
cfd69548b3 Use -j2 for travis builds. (See #2110.) 2015-04-25 12:42:53 -07:00
Tim Lin
0c1b87780f updates travis apt installs to the new sudo-less syntax
New syntax is specified here: http://docs.travis-ci.com/user/apt/
2015-04-25 03:29:42 -07:00
John MacFarlane
3a4ef013d8 travis script: build with ghc 7.10.1.
For now -Werror is turned of for 7.10.1.
2015-03-27 21:14:32 -07:00
John MacFarlane
6a6392d393 Travis: comment out ghc 7.10 until we have the dependencies. 2015-02-07 21:17:53 -08:00
Matthew Pickering
2a3df35423 Update travis file 2015-02-02 10:44:34 +00:00
John MacFarlane
a78d8b84ca Travis: don't need alex, happy. 2014-06-18 11:34:06 -07:00
John MacFarlane
eabaa625fe Fixed travis build to install alex for GHC 7.8.2. 2014-05-16 10:34:20 -07:00
John MacFarlane
650f831949 travis: Test with ghc 7.8.2 rather than 7.8.1. 2014-05-16 09:50:30 -07:00
John MacFarlane
a9eb0caabb Fixed cabal path in travis config. 2014-04-09 17:33:51 -07:00
John MacFarlane
a67b221d4d More travis tweaks. 2014-04-09 17:18:10 -07:00
John MacFarlane
1fd5ca48c1 Travis: gave up trying to test the sdist.
For some reason hsb2hs was not found, even though it was built.
2014-04-09 16:38:15 -07:00
John MacFarlane
f31f5924b3 More travis tweaks. 2014-04-09 15:07:36 -07:00
John MacFarlane
6b49015307 More travis tweaks. 2014-04-09 14:23:09 -07:00
John MacFarlane
cf66f10e0c Travis build: remove 6.12; add -v2 to dependencies install. 2014-04-09 12:18:57 -07:00
John MacFarlane
4152ca33e4 Travis: install hsb2hs. 2014-04-09 12:14:05 -07:00
John MacFarlane
3c472d0843 More travis tweaks. 2014-04-09 11:36:50 -07:00
John MacFarlane
7a4412c165 More travis changes. 2014-04-09 11:05:42 -07:00
John MacFarlane
f97b2e4bf4 Fixed $CABAL in travis script. 2014-04-09 10:43:06 -07:00
John MacFarlane
fca601d5f1 Updated travis script to test with multiple GHC versions. 2014-04-09 10:19:22 -07:00
Albert Krewinkel
3f5d9432ff Force failure of a Travis build if GHC produces warnings
Pandoc should, as stated in CONTRIBUTING.md, always compile without
warnings.  This patch forces GHC to treat warnings like errors during
Travis builds, making it possible to catch mistakes (like missing
top-level type definitions) early.
2014-04-09 17:58:55 +02:00
John MacFarlane
2f156eeb30 Updated travis build. 2013-08-24 22:42:40 -07:00
John MacFarlane
15984adaaa Another attempt at .travis.yml. 2013-07-13 15:15:43 -07:00
John MacFarlane
3b1898dec9 Another attempt at the travis build spec. 2013-07-13 15:08:36 -07:00
John MacFarlane
a5882bd587 Tweaked travis script to use cabal-dev. 2013-07-13 15:06:25 -07:00
John MacFarlane
db16644c46 Revert "Temporarily removed travis build instructions."
This reverts commit bba08126b4.
2013-01-19 17:04:11 -08:00
John MacFarlane
bba08126b4 Temporarily removed travis build instructions. 2012-08-08 15:36:57 -07:00
John MacFarlane
c936b25ebf Changed travis instructions for new test. 2012-07-26 09:56:01 -07:00
John MacFarlane
8538b6764d Fixed travis-CI script to build tests. 2012-03-14 18:34:33 -07:00
John MacFarlane
4c0b6ad48e Added .travis.yml. 2012-03-13 08:39:26 -07:00