forked from niklasf/python-chess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 792 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
addons:
apt:
packages:
- liblzma-dev
cache:
directories:
- data/gaviota
before_install:
- # Stockfish
- wget https://stockfish.s3.amazonaws.com/stockfish-6-linux.zip
- unzip stockfish-6-linux.zip
- mkdir -p bin
- cp stockfish-6-linux/Linux/stockfish_6_x64 bin/stockfish
- export PATH="`pwd`/bin:${PATH}"
- which stockfish || (echo $PATH && false)
- # Gaviota libgtb
- git clone https://github.com/michiguel/Gaviota-Tablebases.git --depth 1
- cd Gaviota-Tablebases
- make
- export LD_LIBRARY_PATH="`pwd`:${LD_LIBRARY_PATH}"
- cd ..
- # Gaviota tablebases
- cd data/gaviota
- wget --no-clobber --input-file TEST-SOURCE.txt
- cd ../..
install: pip install tox-travis
script: tox