@@ -49,7 +49,7 @@ install:
49 - travis_retry cabal update -v
49 - travis_retry cabal update -v
50 - sed -i.bak 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
50 - sed -i.bak 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
51 - rm -fv cabal.project.local
51 - rm -fv cabal.project.local
52− # - "echo 'packages: .' > cabal.project"
52+ - "echo 'packages: .' > cabal.project"
53 - if [ -f "./configure.ac" ]; then
53 - if [ -f "./configure.ac" ]; then
54 (cd "."; autoreconf -i);
54 (cd "."; autoreconf -i);
@@ -65,9 +65,10 @@ script:
65 # test that source-distributions can be generated
65 # test that source-distributions can be generated
66 - (cd "."; cabal sdist)
66 - (cd "."; cabal sdist)
67 - mv "."/dist/generic-lens-*.tar.gz ${DISTDIR}/
67 - mv "."/dist/generic-lens-*.tar.gz ${DISTDIR}/
68+ - mv "."/inspection-testing ${DISTDIR}/inspection-testing
68 - cd ${DISTDIR}
69 - cd ${DISTDIR}
69 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
70 - 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"
71 # this builds all libraries and executables (without tests/benchmarks)
72 # this builds all libraries and executables (without tests/benchmarks)
72 - cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
73 - cabal new-build -w ${HC} --disable-tests --disable-benchmarks all