[commit: ghc] master: Add a .travis.yml file (30518f0)
git at git.haskell.org
git at git.haskell.org
Sat Jul 12 12:00:24 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/30518f0d7f1c040fae16003794b2e5e873850c0e/ghc
>---------------------------------------------------------------
commit 30518f0d7f1c040fae16003794b2e5e873850c0e
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sat Jul 12 13:58:09 2014 +0200
Add a .travis.yml file
This is a reduced build that should finish within the 50 minute time
limit most of the time. In particular,
* it skips DPH
* it does not build dynamic libraries and no dynamic executables
* does not build haddock or generate documentation
* only runs fast tests, and no performance tests
You can see its results at
https://travis-ci.org/ghc/ghc/builds
>---------------------------------------------------------------
30518f0d7f1c040fae16003794b2e5e873850c0e
.travis.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..5dc1e53
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,36 @@
+git:
+ submodules: false
+
+notifications:
+ email:
+ - mail at joachim-breitner.de
+ - ghc-builds at haskell.org
+
+env:
+ - DEBUG_STAGE2=YES
+ - DEBUG_STAGE2=NO
+
+before_install:
+ - git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
+ - git config --global url."http://github.com/ghc/packages-".insteadOf http://github.com/ghc/packages/
+ - git config --global url."https://github.com/ghc/packages-".insteadOf https://github.com/ghc/packages/
+ - git config --global url."ssh://git@github.com/ghc/packages-".insteadOf ssh://git@github.com/ghc/packages/
+ - git config --global url."git at github.com:/ghc/packages-".insteadOf git at github.com:/ghc/packages/
+ - git submodule update --init --recursive
+install:
+ - sudo apt-get update
+ - sudo apt-get install haskell-platform autoconf libtool make ncurses-dev g++ dblatex docbook-xsl docbook-utils
+ - cabal update
+ - cabal install happy alex
+script:
+ - echo 'V = 0' >> mk/validate.mk # otherwise we hit log file limits on travis.
+ # do not build docs
+ - echo 'HADDOCK_DOCS = NO' >> mk/validate.mk
+ - echo 'BUILD_DOCBOOK_HTML = NO' >> mk/validate.mk
+ - echo 'BUILD_DOCBOOK_PS = NO' >> mk/validate.mk
+ - echo 'BUILD_DOCBOOK_PDF = NO' >> mk/validate.mk
+ # do not build dynamic libraries
+ - echo 'DYNAMIC_GHC_PROGRAMS = NO' >> mk/validate.mk
+ - echo 'GhcLibWays = v' >> mk/validate.mk
+ - if [ "$DEBUG_STAGE" = "YES" ]; then echo 'GhcStage2HcOpts += -DDEBUG' >> mk/validate.mk; fi
+ - CPUS=3 SKIP_PERF_TESTS=YES PATH=~/.cabal/bin:$PATH ./validate --fast --no-dph
More information about the ghc-commits
mailing list