language: haskell
ghc: 7.8
install: cabal install --only-dependencies --enable-tests --force-reinstalls
addons:
    ssh_known_hosts: rcjsoftware.com
after_success:
- chmod 600 .travis/bombersapp.pem
- ssh-add .travis/bombersapp.pem
- git remote add production bombersapp@rcjsoftware.com:/~bombersapp/b29.git
- git push production dev
- scp dist/build/b29-helper/b29-helper bombersapp@rcjsoftware.com:hB29
- ssh bombersapp@rcjsoftware.com systemctl --user restart hB29
before_install:
- openssl aes-256-cbc -K $encrypted_e0c423148da7_key -iv $encrypted_e0c423148da7_iv
  -in bombersapp.pem.enc -out .travis/bombersapp.pem -d
- eval `ssh-agent -s`

language: haskell
ghc: 7.8
install: cabal install --only-dependencies --enable-tests --force-reinstalls
addons:
    ssh_known_hosts: rcjsoftware.com
after_success:
- chmod 600 .travis/bombersapp.pem
- ssh-add .travis/bombersapp.pem
- ssh bombersapp@rcjsoftware.com systemctl --user stop hB29
- git remote add production bombersapp@rcjsoftware.com:/~bombersapp/b29.git
- git push production dev
- scp dist/build/b29-helper/b29-helper bombersapp@rcjsoftware.com:hB29
- ssh bombersapp@rcjsoftware.com systemctl --user start hB29
before_install:
- openssl aes-256-cbc -K $encrypted_e0c423148da7_key -iv $encrypted_e0c423148da7_iv
  -in bombersapp.pem.enc -out .travis/bombersapp.pem -d
- eval `ssh-agent -s`

Stop service before updating executable
Stop service before updating executable
