File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change
1
+ -- This provides a custom ~/.cabal/config file for use when hackage is down that should work on unix
2
+ --
3
+ -- This is particularly useful for travis-ci to get it to stop complaining
4
+ -- about a broken build when everything is still correct on our end.
5
+ --
6
+ -- This uses Luite Stegeman's mirror of hackage provided by his 'hdiff' site instead
7
+ --
8
+ -- To enable this, uncomment the before_script in .travis.yml
9
+
10
+ remote-repo: hdiff.luite.com:http://hdiff.luite.com/packages/archive
11
+ remote-repo-cache: ~/.cabal/packages
12
+ world-file: ~/.cabal/world
13
+ build-summary: ~/.cabal/logs/build.log
14
+ remote-build-reporting: anonymous
15
+ install-dirs user
16
+ install-dirs global
Original file line number Diff line number Diff line change @@ -17,4 +17,7 @@ sudo add-apt-repository -y ppa:hvr/ghc\
17
17
cd $DEP
18
18
if git branch -a | grep -x " remotes/origin/${HEAD_BRANCH} " > /dev/null; then git checkout ${HEAD_BRANCH} ; fi
19
19
cd ..
20
- done
20
+ done\
21
+ # && $CABAL update
22
+ # Uncomment whenever hackage is down.
23
+ && mkdir -p ~ /.cabal && cp travis/config ~ /.cabal/config && $CABAL update
You can’t perform that action at this time.
0 commit comments