This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (30 sloc) 1.05 KB
machine:
pre:
# https://github.com/commercialhaskell/stack/issues/1658
- 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
environment:
GITHUB_OAUTH_CLIENT_ID: x
GITHUB_OAUTH_CLIENT_SECRET: x
GOOGLE_OAUTH_CLIENT_ID: x
GOOGLE_OAUTH_CLIENT_SECRET: x
STRIPE_SECRET_KEY: x
STRIPE_PUBLISHABLE_KEY: x
dependencies:
cache_directories:
- "~/.stack"
pre:
- wget https://github.com/commercialhaskell/stack/releases/download/v0.1.6.0/stack-0.1.6.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
- tar xvzOf /tmp/stack.tar.gz stack-0.1.6.0-linux-x86_64/stack > /tmp/stack
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
override:
- stack setup
- stack build
test:
override:
- ./bin/setup-db
- ./bin/setup-selenium
- stack test
- bin/integration