为什么travis CI中的服务器无法找到我的需求文件?

时间:2019-11-25 11:35:17

标签: python travis-ci

我的目录树看起来像这样

├── antimony_combinations
│   ├── antimony_combinations.py
│   ├── __init__.py
├── LICENCE
├── README.md
├── requirements.txt
├── setup.py
└── tests
    └── tests.py

我的.travis.yml看起来像这样:

language: python
before_install:    # get some dependency software. This works as expected in another package. 
  - wget https://github.com/copasi/COPASI/releases/download/Build-207/COPASI-4.25.207-Linux-64bit.tar.gz -O /tmp/copasi.tar.gz
  - tar -xzvf /tmp/copasi.tar.gz
  - export PATH=$PATH:$PWD/COPASI-4.25.207-Linux-64bit/bin/
python:
  - "3.6"
  - "3.7"
  - "3.8"
install:
  - pip install .
  - pip install -r $PWD/requirements.txt     # Also tried just using `requirements.txt` here
  - pip install nose
script:
  - nosetests
after_success:
  - coveralls

但我收到以下错误消息:

enter image description here

1 个答案:

答案 0 :(得分:2)

您似乎没有在GitHub上提交需求文件。我本来希望在https://github.com/CiaranWelsh/AntimonyCombinations/tree/58af0a810aed080e6f397d40d009b1b8d45df833中看到它!