see #72: use travis-ci

This commit is contained in:
Changkun Ou
2019-07-15 11:54:30 +02:00
parent 407f6eda32
commit 325b9664a8
13 changed files with 101 additions and 32 deletions

19
.travis.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
- docker
before_install:
- openssl aes-256-cbc -K $encrypted_9157553ce13c_key -iv $encrypted_9157553ce13c_iv -in .travis/travis.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- git config --global user.name "Changkun Ou"
- git config --global user.email "hi@changkun.us"
- make build-env
addons:
ssh_known_hosts:
- changkun.de
script:
- make build
after_success:
scp -r website/public/modern-cpp/* $encrypted_server_user@changkun.de:$encrypted_server_path