Skip to content

Commit 7bc8126

Browse files
Merge pull request #45 from Axelrod-Python/issue-7
Travis Config
2 parents 7665920 + 138701f commit 7bc8126

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: python
2+
python:
3+
- 3.5
4+
- 3.6
5+
before_install:
6+
- export DISPLAY=:99.0
7+
- sh -e /etc/init.d/xvfb start
8+
- sudo apt-get -qq update
9+
- sudo apt-get install gfortran
10+
- git clone https://github.com/Axelrod-Python/TourExec.git /tmp/TourExec
11+
- cd /tmp/TourExec
12+
- sudo make install
13+
- export LD_LIBRARY_PATH=/usr/local/lib
14+
- cd $TRAVIS_BUILD_DIR
15+
install:
16+
- pip install -r requirements.txt
17+
- pip install pytest
18+
script:
19+
- pytest

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
axelrod=>3.1.2
1+
axelrod>=3.1.2

0 commit comments

Comments
 (0)