File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,17 @@ before_install:
57
57
58
58
esac
59
59
60
+ if [ -n "$AESONVER" ]; then
61
+ echo "constraints:aeson=="$AESONVER >> cabal.config;
62
+ fi
63
+
60
64
- sudo add-apt-repository -y ppa:hvr/ghc
61
65
- sudo apt-get update
62
66
- sudo apt-get install cabal-install-1.18 ghc-$GHCVER
63
67
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
64
68
65
69
install :
66
70
- cabal-1.18 update
67
- - if [ -n "$AESONVER" ]; then
68
- cabal-1.18 install aeson-$AESONVER;
69
- fi
70
71
- cabal-1.18 install --only-dependencies --enable-tests
71
72
72
73
# Here starts the actual work to be performed for the package under
@@ -98,8 +99,6 @@ script:
98
99
99
100
# build demo
100
101
- cd ..;
101
- cabal-1.18 install --only-dependencies -f demo;
102
- - cabal-1.18 configure -f demo
103
- - cabal-1.18 build
102
+ cabal-1.18 install -f demo;
104
103
105
104
# EOF
You can’t perform that action at this time.
0 commit comments