dependencies:
  pre:
    - sudo -u postgres createuser user_testing
    - createdb test

test:
  override:
    - eval "$(curl -sL https://swift.vapor.sh/ci-3.1)"

dependencies:
  override:
    - eval "$(curl -sL https://apt.vapor.sh)"
    - sudo apt-get install vapor
    - sudo chmod -R a+rx /usr/

  pre:
    - sudo -u postgres createdb test

test:
  override:
    - swift build
    - swift build -c release
    - swift test

Update CircleCI configuration for the new vapor scripts
Update CircleCI configuration for the new vapor scripts
