forked from EmpiresCommunity/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
21 lines (19 loc) · 709 Bytes
/
circle.yml
File metadata and controls
21 lines (19 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is the configuration file for circleci.com (CI which builds the site)
machine:
# Bug with GCC caused reliable builds to break: http://stackoverflow.com/a/34811594
pre:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10
ghc:
version: 7.8.4
dependencies:
override:
- cabal update
- cabal install --dependencies-only --avoid-reinstalls
# Compile pages during the test stage
test:
post:
- "make"
- "make deploy"