-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (45 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
dist: focal
language: python
python:
- "3.8"
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- x11-utils
- libxkbcommon-x11-0
services:
- xvfb
- mysql
env:
global:
- API_PATH=docs/source/api
cache:
- directories:
- $HOME/.cache/pip
before_install:
- mysql -u root -e "CREATE DATABASE test;"
- mysql -u root test < tests/data/example/sql/allowed_values.sql
- mysql -u root test < tests/data/example/sql/subjects.sql
- mysql -u root test < tests/data/example/sql/protocols.sql
- mysql -u root test < tests/data/example/sql/sessions.sql
- mysql -u root test < tests/data/example/sql/runs.sql
- mysql -u root test < tests/data/example/sql/channels.sql
- mysql -u root test < tests/data/example/sql/electrodes.sql
- mysql -u root test < tests/data/example/sql/recordings.sql
- mysql -u root test < tests/data/example/sql/files.sql
- mysql -u root test < tests/data/example/sql/extra_sessions.sql
- mysql -u root test < tests/data/example/sql/extra_runs.sql
- mysql -u root test < tests/data/example/sql/extra_recordings.sql
- sudo apt-get -y install python3-pyqt5.qtsql python3-pytestqt python3-pytest-cov python3-numpy libqt5sql5-mysql
install:
- sudo pip3 install nibabel pandas wonambi bidso
- sudo pip3 install codecov
- pip3 install -e .
script:
- pytest-3 --cov=xelo2 tests/ -vv
after_success:
- codecov
notifications:
email: false