1
我不希望這聽起來像一個模糊的問題,但我不知道爲什麼我的應用程序不是建立在Travis CI上。對於記錄來說,它不像應用程序實際需要以這種方式進行單元測試,但我想嘗試它。它在Travis上所說的就是它正在加載,但沒有構建正在發生。這裏是github倉庫,這裏是.travis.yml文件。我的.travis.yml文件有什麼問題?
https://github.com/DavidAwad/SpaceShare在這裏建設。 https://travis-ci.org/DavidAwad/SpaceShare
language: python
python:
- "2.7"
- "3.4"
services:
- mongodb
install: # command to install dependencies
- "pip install -r requirements.txt"
# command to run tests
script: python test.py
notifications:
email:
- [email protected]
sudo: false
我相信'-mongodb'需要在連字符 – CTKlein 2015-01-09 20:14:20
後加一個空格!仍然沒有構建:( – davidawad 2015-01-09 20:27:59
)您是否在Travis的GitHub上添加了Web鉤子?還有一個用於發送測試負載的按鈕。 – Odi 2015-01-10 08:52:10