Skip to content

Instantly share code, notes, and snippets.

@michaelhelmick
Last active February 5, 2018 20:47
Show Gist options
  • Save michaelhelmick/84fcc79486e3e977dd037f067f7257ba to your computer and use it in GitHub Desktop.
Save michaelhelmick/84fcc79486e3e977dd037f067f7257ba to your computer and use it in GitHub Desktop.
sudo: required
language: python
cache:
directories:
- pip
before_install:
- make travis-before-install-$TEST_SUITE
install:
- make travis-install-$TEST_SUITE
before_script:
- make travis-before-script-$TEST_SUITE
script:
- make travis-$SCRIPT-$TEST_SUITE
jobs:
include:
- stage: test
python: 3.6
env:
- TEST_SUITE=backend
- SCRIPT=test
services:
- mysql
after_success:
- mysqldump --user='root' --password='' test_project > ~/$TRAVIS_BRANCH/databases/db.sql
- aws s3 sync ~/$TRAVIS_BRANCH s3://org-travis-ci/$TRAVIS_BRANCH
notifications:
email: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment