forked from mcostalba/chess_db
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (32 loc) · 1.36 KB
/
.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
36
language: cpp
matrix:
include:
- os: linux
sudo: required
dist: trusty
compiler: gcc
install:
- sudo apt-get install -y g++-multilib python3-pip
script:
- cd parser
- make clean && make build ARCH=x86-64
- virtualenv --python=python3 --system-site-packages _venv
- source _venv/bin/activate
- pip3 install pexpect
- python3 test.py
- mv parser parser_x64
- make clean && make build ARCH=x86-64-modern EXE=parser_x64-modern
- make clean && make build ARCH=x86-32 EXE=parser_x32
- ls -l
deploy:
provider: releases
api_key:
secure: XU3EXURemFEv+zP877mxP1dtZMrwj+kjxep5Imy8zBRIpHKT6KOckk0fqi6Qh8B8YYGPEvdVqzVCuWWC8wuiH0k7tGPWQvrN5gs/S3EYP8B0Wux77xEvZ1G9U3WYONmqg6acleMMDpOjUSTaY3ePXrnwMaPMiyY0r4rgG6I53MUfifRxjlVl6/tNpolHdNAtSbWaqVUvaZyb0hFPtmNOYLzjHumG/hKxdBLbDTc5Cqx23/NqiMo5RMFcRQjaiATaYx7OrJNnLscYUV8sDHACh7sh27o544wXBtcV93vcoAtbsajdGDyS8DM3O91HZXUKa1QhXOTy5/hbR9hofwaa8SMkjCFqR3WS8sHh8H7hs+bDCYj7HW+MuHh5EtUvXLZVnjaeWoz6xIljjAbWkpq/E5LMCkj48tiNFSwoBp9AfQYfqQxj+PoDw2QC/8fNjrY0F98W90RzVLR/g9Q+3FJHt2W9qeRqtqCKN5LXl4ULwinn+iHCY59kdz4yIbcefIX0jdCQqSwel1SGfwRcG5UJba8GoYgjiFV/gl/PKS+iqb1M64Aqq+DvCCA/WtlFyOjFAlzH0clixw1xANawp/FaKHFRTqt1r6QAYOVHDYZpS6tpXijXrQdDsupPrf4z0zZGeNV9c1+5RadE9cexiBpydzIg8WkkECTk4DqecG/23hM=
file:
- parser_x64-modern
- parser_x64
- parser_x32
skip_cleanup: true
on:
tags: true
repo: pychess/chess_db