-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9077147
commit 86702de
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: python | ||
# if command bellow need to executed in sudo | ||
# add this line. | ||
# sudo: required | ||
python: | ||
- 3.5 | ||
- 3.6 | ||
install: | ||
- pip install -r requirements.txt | ||
script: | ||
- bash run.sh | ||
- cd calApi; python manage.py test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
git clone https://github.com/Stufinite/CampassCrawler.git; | ||
pip install -r CampassCrawler/requirements.txt | ||
cd CampassCrawler/UCrawler; scrapy crawl NSYSU -o ../../calApi/NSYSU.json -t json; cd - | ||
cd calApi; pwd; python manage.py buildCourse NSYSU.json NSYSU 1061 |