File tree Expand file tree Collapse file tree 1 file changed +19
-28
lines changed Expand file tree Collapse file tree 1 file changed +19
-28
lines changed Original file line number Diff line number Diff line change 1
- language : python3
2
- sudo : required
3
- python :
4
- - " 3.6"
1
+ language : python
2
+ python : " 3.6"
5
3
6
- notifications :
7
- email :
8
- recipients :
9
- - zhuheqin1@gmail.com
10
- on_success : change # default: change
11
- on_failure : always # default: always
4
+ branches :
5
+ only :
6
+ - master
7
+
8
+ env :
9
+ # Github Pages
10
+ - GH_REF : github.com/USTC-Resource/USTC-Course
12
11
13
12
install :
14
- - sudo apt-get install python3 -y
15
- - sudo apt-get install python3-pip -y
16
- - sudo pip3 install markdown
17
- - sudo pip3 install pypinyin
13
+ - pip install --upgrade pip
14
+ - pip install markdown pypinyin
18
15
19
16
script :
20
- - python3 utils/genReadme.py
21
- - python3 utils/genIndex.py
17
+ - python utils/genReadme.py
18
+ - python utils/genIndex.py
22
19
23
20
after_script :
24
21
# Build Master Repository(Coding Pages)
@@ -31,15 +28,9 @@ after_script:
31
28
- git commit -m "Travis-CI Update pages with build $TRAVIS_BUILD_NUMBER"
32
29
- git push -f "https://${GH_TOKEN}@${GH_REF}" master:gh-pages
33
30
34
- addons :
35
- apt :
36
- update : true
37
-
38
- branches :
39
- only :
40
- - master
41
- env :
42
- global :
43
- # Github Pages
44
- - GH_REF : github.com/USTC-Resource/USTC-Course
45
-
31
+ notifications :
32
+ email :
33
+ recipients :
34
+ - zhuheqin1@gmail.com
35
+ on_success : change # default: change
36
+ on_failure : always # default: always
You can’t perform that action at this time.
0 commit comments