Skip to content

Commit

Permalink
automatic deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
piranha committed Jun 21, 2015
1 parent 821c9d6 commit 5c2ace8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
language: python
python:
- "2.7"
- '2.7'
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get install -qq python-yaml python-jinja2 python-smartypants
- openssl aes-256-cbc -K $encrypted_61da1a775a65_key -iv $encrypted_61da1a775a65_iv -in .travis/deploy_key.enc -out .travis/deploy_key -d
- sudo apt-get install -qq python-yaml python-jinja2 python-smartypants
install:
- pip install cyrax
- pip install cyrax
script:
- cyrax
- test 6000 -lt $(cat _build/index.html | wc -l)
- cyrax
- test 6000 -lt $(cat _build/index.html | wc -l)
after_success:
- chmod 600 .travis/deploy_key
- ssh-add .travis/deploy_key
- git remote add maia dokku@maia.solovyov.net:osgc
- git push deploy
Binary file added .travis/deploy_key.enc
Binary file not shown.

0 comments on commit 5c2ace8

Please sign in to comment.