Skip to content

Commit 19fcd04

Browse files
committed
Back to source dir
There's probably an environment variable for this...
1 parent 3364f6d commit 19fcd04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ script:
127127
# test that source-distributions can be generated
128128
- cabal new-sdist all
129129
- mv dist-newstyle/sdist/*.tar.gz ${DISTDIR}/
130-
- cd ${DISTDIR} || false
130+
- pushd ${DISTDIR} || false
131131
- find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
132132
- "printf 'packages: fgl-*/*.cabal\\n' > cabal.project"
133133
- touch cabal.project.local
@@ -150,6 +150,8 @@ script:
150150
# Build without installed constraints for packages in global-db
151151
- if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
152152

153+
- popd
154+
153155
# Check the fgl-arbitrary sub-package
154156
- cd fgl-arbitrary
155157
# Relying upon fgl being installed above when testing sdist, and that

0 commit comments

Comments
 (0)