Add trivis

This commit is contained in:
L3D 2019-05-26 02:41:30 +02:00
parent 6c6c9f5055
commit c3d5e6cdde
Signed by: l3d
GPG key ID: CD08445BFF4313D1

18
.travis.yml Normal file
View file

@ -0,0 +1,18 @@
language: python
python: 3.6
git:
lfs_skip_smudge: true
cache:
directories:
- $HOME/.cache/pip
before_install:
- git lfs pull
- make install-sassc
install:
- "pip install Lektor"
- make sass
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"