services:
  - postgresql
before_script:
  - psql -c 'create database talon_test;' -U postgres
  - nohup phantomjs --wd &
language: elixir
elixir:
  - 1.4
otp_release:
  - 19.3
sudo: false
script: 
  - yes | mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez --force
  - mix -h
  - mix test
notification:
  recipients:
    - smpallen99@yahoo.com
    - dsnider@digitaltoniq.com

services:
  - postgresql
before_script:
  - psql -c 'create database talon_test;' -U postgres
  - nohup phantomjs --wd &
  - yes | mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez --force
language: elixir
elixir:
  - 1.4
otp_release:
  - 19.3
sudo: false
script: 
  - mix -h
  - mix test
notification:
  recipients:
    - smpallen99@yahoo.com
    - dsnider@digitaltoniq.com

Move archive install back to before script
Move archive install back to before script