travis: Create empty ChangeLog before running cabal sdist

This commit is contained in:
Daniel Gröber 2014-09-12 22:23:48 +02:00
parent 8ca6f7d18b
commit 731b3200ab

View File

@ -11,6 +11,7 @@ install:
- cabal install -j --only-dependencies --enable-tests - cabal install -j --only-dependencies --enable-tests
script: script:
- touch ChangeLog # Create ChangeLog if we're not on the release branch
- cabal check - cabal check
- cabal sdist - cabal sdist
- export SRC_TGZ="$PWD/dist/$(cabal info . | awk '{print $2 ".tar.gz";exit}')" - export SRC_TGZ="$PWD/dist/$(cabal info . | awk '{print $2 ".tar.gz";exit}')"