-
Notifications
You must be signed in to change notification settings - Fork 83
/
.travis.yml
39 lines (35 loc) · 1012 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: python
sudo: false
matrix:
include:
- python: 3.6
env:
global:
- SSH_KEY='./travis/travis_key'
before_install:
- openssl aes-256-cbc -K $encrypted_8b5c89e9c96b_key -iv $encrypted_8b5c89e9c96b_iv
-in ./travis/travis_key.enc -out ./travis/travis_key -d
- chmod 600 $SSH_KEY
- eval `ssh-agent -s`
- ssh-add $SSH_KEY
install:
- pip install jupyter nikola markdown pyyaml feedparser pytz
script:
- git config --global user.email "TravisBot@nomail"
- git config --global user.name "TravisBot"
- git config --global push.default simple
- git remote set-url origin [email protected]:OpenAstronomy/Universe_OA.git
- git remote set-branches --add origin master
- git remote set-branches --add origin run
- git remote -v
- git fetch origin
- git branch -avv
- git checkout -b run origin/run
- python grab.py
- nikola build
- git add gsoc* output/* posts/*
- git status -uno
- git commit -m "update from $(date)"
- git subtree split --prefix output -b gh-pages
after_success:
- ./travis/deploy.sh