diff --git a/.travis.yml b/.travis.yml index c467fb19..7ebf9c5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,6 +103,7 @@ install: - "echo 'allow-newer: servant-quickcheck:servant-server' >> cabal.project" - "echo 'allow-newer: servant-quickcheck:hspec' >> cabal.project" - "echo 'allow-newer: servant-quickcheck:http-client' >> cabal.project" + - "echo 'reorder-goals: True' >> cabal.project" - "echo 'optimization: False' >> cabal.project " - touch cabal.project.local - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-hoist-server-with-context|cookbook-https|cookbook-jwt-and-basic-auth|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done" @@ -184,6 +185,7 @@ script: - "echo 'allow-newer: servant-quickcheck:servant-server' >> cabal.project" - "echo 'allow-newer: servant-quickcheck:hspec' >> cabal.project" - "echo 'allow-newer: servant-quickcheck:http-client' >> cabal.project" + - "echo 'reorder-goals: True' >> cabal.project" - "echo 'optimization: False' >> cabal.project " - touch cabal.project.local - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-hoist-server-with-context|cookbook-https|cookbook-jwt-and-basic-auth|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done" diff --git a/cabal.project b/cabal.project index 2422b6f3..6209cf7f 100644 --- a/cabal.project +++ b/cabal.project @@ -33,6 +33,7 @@ packages: tests: True optimization: False +reorder-goals: True allow-newer: servant-js:base