Python 为什么可以';travis CI中的服务器计算机找不到我的需求文件?

Python 为什么可以';travis CI中的服务器计算机找不到我的需求文件?,python,travis-ci,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 depen

我的目录树如下所示

├── 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
但我得到了以下错误:


看起来您没有在GitHub上提交需求文件。我早就料到会看到它的

啊,我已经明白了。我从另一个项目复制了一个
.gitignore
,但忘了删除
*.txt
。真让人困惑!谢谢你的帮助。