-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 854 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
36
37
38
language: cpp
os: linux
dist: bionic
install:
# Qt
- sudo apt-get --yes install build-essential
- sudo apt-get --yes install qt5-default
# PostgreSQL
- sudo apt-get --yes install postgresql postgresql-contrib
- sudo apt-get --yes install libqt5sql5-psql
script:
# Start PostgreSQL server
- sudo service postgresql start
# DB settings
- sudo -u postgres createuser qtminer # create user
- sudo -u postgres psql -c "ALTER USER qtminer WITH encrypted PASSWORD '123456'" # change password
- sudo -u postgres createdb -O qtminer qtminer # create db
# Create db table
- cd src/Results/createDB/
- qmake && make -s -j`nproc`
- ./createDB
# Compilation project
- cd ../../../
- qmake && make -s -j`nproc`
notifications:
recipients:
- blasteralex@yandex.ru
email:
on_success: change
on_failure: change