@@ -49,7 +49,7 @@ install:
4949 - travis_retry cabal update -v
5050 - sed -i.bak 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
5151 - rm -fv cabal.project.local
52− # - "echo 'packages: .' > cabal.project"
52+ - "echo 'packages: .' > cabal.project"
5353 - if [ -f "./configure.ac" ]; then
5454 (cd "."; autoreconf -i);
5555 fi
@@ -65,9 +65,10 @@ script:
6565 # test that source-distributions can be generated
6666 - (cd "."; cabal sdist)
6767 - mv "."/dist/generic-lens-*.tar.gz ${DISTDIR}/
68+ - mv "."/inspection-testing ${DISTDIR}/inspection-testing
6869 - cd ${DISTDIR}
6970 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
70− # - "printf 'packages: generic-lens-*/*.cabal\n' > cabal.project"
71+ - "printf 'packages: generic-lens-*/*.cabal\noptional-packages: inspection-testing/*.cabal\n' > cabal.project"
7172 # this builds all libraries and executables (without tests/benchmarks)
7273 - cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
7374