Skip to content

Commit 5119e40

Browse files
committed
add requirements for package and tests; pip install them for CI
1 parent 9636503 commit 5119e40

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: .travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ language: python
22

33
python:
44
- 2.7
5+
- 3.5
56
- 3.6
6-
- 3.7
7-
- 3.8
87

98
install:
109
- sudo apt-get update
@@ -14,6 +13,8 @@ install:
1413
- conda update --yes -n base conda
1514
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pytest
1615
- source activate testenv
16+
- pip install -r requirements.txt
17+
- pip install -r test_requirements.txt
1718
- pip install -e .
1819

1920
script:

Diff for: requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
six==1.12.0
2+
numpy==1.16.5
3+
ase==3.16.2

Diff for: test_requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pytest==4.6.6
2+
pytest-cov==2.8.1

0 commit comments

Comments
 (0)