forked from amperser/proselint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (59 loc) · 3.72 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
install:
- pip install -r requirements.txt
- gem install travis
- gem install jekyll-gist -v '1.2.1'
- gem install jekyll -v 2.5.3
- gem install jekyll-sitemap
- gem install s3_website
- gem install compass --version 0.12.5
- gem install kramdown
- gem install link-checker
before_script:
- travis lint -x --skip-completion-check
script:
- pep8 .
- pep257 . --match='.*\.py'
- nosetests --with-coverage --cover-package proselint
- if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
python scripts/insert_demo.py;
cd site;
jekyll build;
s3_website push;
cd ..;
check-links "http://proselint.com";
fi
after_success:
- coveralls
env:
global:
- secure: cB2hODqR9V3P8c2BupySJnz825snT2vqhpB4RnnyYD5L1E+nzZK9KdApgx0U/f1YHZujhPnbdXAfq1QQztIf6EocbF1CrSKPCavJoJ/CSQ53X775++PegBZXL66PSYfMX28MFcuYCvqcBxSKX26kpT72IjtgHHEROz/NkrifHog=
- secure: Ri3M0/J5J11LpMSSD3XoJdB/rkINP3Ir9leoUfrUlws89IiGQiscmvp8WamFnY3Z9HMzwSqV0Aj62SjPM811Iog+uRY2thH+wunVHDovj1NNI1bfGgmu1LEIivoRwnUKd3wyx7HurgQxt4hrN2AhOvCQsUms6NU/n/cGBbo1J2s=
- secure: EdCRjICaZwf3NOKPulTMZmWzx1d0yjbrOOv4YwcaDRpaTwhgzm/BIqi8UCWMY1zOk39+dZj+2Tn8pGOaDhiLbJimyEk8+xOiMmBXc2RBlKmsfktM+I+hZmVFDEOMVxI1VefV97Xhd8+hsojyDcgQ1vRPuv9tSrCvS/yY0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YdKwl+iGPXDQLh60f5IZvWpWQAPOzDbeeAGFBx7rzxnuFem52fyzytp4lEYfuE11spOAk96fQJTPpVKDCS2tLvtMOAN/bIDghd+oriK4o1Qy5o3oZA0uResztAJTgm2Qx2NuqtFPr+Zv/NvPq6gSTlsLUkh1TVEolBB5SbDIzg8PEU7Ml6mdmGSWlYpzug2L01ly1GvJSnx0ObivSwQJibti8jAFiyD6DMBnlwrYmv8CXfc+NROZy35NADUE9VRaQRvObQJZfWFVvVCCmhqUNCYAceZ88Y2lgKMtL3t74rUAcWgbhrDYWZHo98=
notifications:
email:
recipients:
- suchow@post.harvard.edu
on_success: always
on_failure: always
addons:
code_climate:
repo_token: 32f92d10b6a0f99a4b35f3e7022040f10dc68b640525237af401b7c4e44faf46
deploy:
provider: pypi
user: hello@amperser.com
password:
secure: bCfE0OL+zcAiwfoVWUoFFj25IYdXz34ABOxtqBoJir3NxeWpfn8ERh2f42DPO/Zl3Yd9FCW4V+4ElyWSkJkkZYAD7Ss1SvV5RXTL8I/DGx4GgiJ8V0v1aJ/nQfVBLG5UnzDXpyRyZ3LfnQ+ueVWmTjXkiCBbW4HhfyfeWlCpDI0CybxMJZuKmVXzQxxUq0iIUZmAUKJ8xz6/KXlTELtr4upHz7fgQc9Au6a2TNR1KreCOaciTvU6/4v99b4lphxYQ9IX9hQPzEmDVnAlKkY0AQHiLjkj95CoVKQa0fm2TreW8pvURfS6l9vQ36jCV2OgFfsBpXTMuYTWoNyGFNcvMTguZvJKAPGqWQ4AT2WRczfPC/zthks/T2BcgmMHOpRpV6c+yapATEXlTFlegoUhX1ewLM26yd9kMyxBifUMeOOzp5Nwc2Y0rRkGq2LJ8QkTnHoR16r0UnJnXI3nWd1ezJ6TzTCpxIeTDDdISYgta06w2+TDEwGP7ptcbjXYTBYnmGmqBaOfcsOOWCnEQ4ygOf3bJxQk/E+TCSmzDYmvPXF79jBIjKvXx5JN19VUXWxfeKCo6oWpNtkTBZI7HMzrZriDXgRVrz3c3sQNME2K2Yf3b5YWgSQprE4YLwttg+GkdDntVP5l0JL7pLmHYQ6xdCATox7W9etJVvVZuhlVPUw=
distributions: "sdist bdist_wheel"
on:
tags: true
repo: amperser/proselint
branch: master
python: 3.5