-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.43 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
language: python
python:
- "3.2"
- "3.3"
- "3.4"
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
before_script:
- "awk -i inplace 'FNR == 4 {print \"carpentry: swc\"} {print}' index.md"
- "awk -i inplace 'FNR == 5 {print \"venue: Foo\"} {print}' index.md"
- "awk -i inplace 'FNR == 6 {print \"address: Room 123\"} {print}' index.md"
- "awk -i inplace 'FNR == 7 {print \"country: us\"} {print}' index.md"
- "awk -i inplace 'FNR == 8 {print \"language: en\"} {print}' index.md"
- "awk -i inplace 'FNR == 9 {print \"latlng: 0,0\"} {print}' index.md"
- "awk -i inplace 'FNR == 10 {print \"humandate: Jan 01-02, 2020\"} {print}' index.md"
- "awk -i inplace 'FNR == 11 {print \"humantime: 9:00 am - 4:30 pm\"} {print}' index.md"
- "awk -i inplace 'FNR == 12 {print \"startdate: 2020-01-01\"} {print}' index.md"
- "awk -i inplace 'FNR == 13 {print \"enddate: 2020-01-01\"} {print}' index.md"
- "awk -i inplace 'FNR == 14 {print \"instructor: [Foo]\"} {print}' index.md"
- "awk -i inplace 'FNR == 15 {print \"helper: [Foo]\"} {print}' index.md"
- "awk -i inplace 'FNR == 16 {print \"contact: [[email protected]]\"} {print}' index.md"
- "awk -i inplace 'FNR == 17 {print \"collaborative_notes: http://foo.bar\"} {print}' index.md"
- "awk -i inplace 'FNR == 18 {print \"eventbrite: 1234567890AB\"} {print}' index.md"
script:
- python bin/workshop_check.py .
branches:
only:
- gh-pages