diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..941ca71 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: 3.6 +cache: + directories: + - $HOME/.cache/pip + - $HOME/.cache/lektor/builds +install: "pip install Lektor" +script: "lektor build" +before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts" +deploy: + provider: script + script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"