Skip to content

Doesn't work for multi-package setup with inter-dependencies #361

Closed
@UnkindPartition

Description

@UnkindPartition

First of all, thanks for making this. I'm migrating from the "complex" stack setup that I've been using for many years, and I find the ability to auto-generate .travis.yml very convenient, especially for smaller projects.

However, when setting this up for tasty, I ran into this issue after generating the config with haskell-ci cabal.project --output .travis.yml (using haskell-ci 0ebd703):

$ ${CABAL} v2-build $WITHCOMPILER ${TEST} ${BENCH} --dep -j2 all

cabal: Cannot select only the dependencies (as requested by the '--only-dependencies' flag), the package tasty-1.2.3 is required by a dependency of one of the other targets.

Travis log

FWIW, I've fixed this for myself simply by removing the --dep steps, as they don't seem necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions