Commit graph

69 commits

Author SHA1 Message Date
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
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