diff --git a/.travis.yml b/.travis.yml index 0481bfd..acf7997 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,5 @@ services: install: - pip install -r requirements.txt script: - - python calApi/manage.py migrate; - bash run.sh - cd calApi; python manage.py test; \ No newline at end of file diff --git a/run.sh b/run.sh index 6881965..e1b266e 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +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 \ No newline at end of file +cd calApi; pwd; python manage.py migrate; python manage.py buildCourse NSYSU.json NSYSU 1061 \ No newline at end of file