-
Notifications
You must be signed in to change notification settings - Fork 34
/
.travis.yml
42 lines (41 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
37
38
39
40
41
language: node_js
node_js:
- "stable"
- v14
- v12
- v10
env:
- CXX=g++-5
notifications:
email:
- xdenser@gmail.com
before_install:
- sudo add-apt-repository ppa:mapopa/ppa -y
- sudo apt-get update -qq
- sudo apt-get install -qq --force-yes firebird2.5-superclassic firebird2.5-dev
- sudo sed /ENABLE_FIREBIRD_SERVER=/s/no/yes/ -i /etc/default/firebird2.5
- cat /etc/default/firebird2.5 | grep ENABLE_FIREBIRD_SERVER
- sudo service firebird2.5-superclassic start
- sudo cat /etc/firebird/2.5/SYSDBA.password
- sudo bash -c '(export FB_VER="2.5"; export FB_FLAVOUR="superclassic";source /usr/share/firebird2.5-common/functions.sh; writeNewPassword masterkey)'
- sudo cat /etc/firebird/2.5/SYSDBA.password
- npm install nodeunit
- rm -f package-lock.json
- sleep 5
before_script:
- cd build
- mkdir test_db
- cd test_db
- sudo isql-fb -input ../../tests/createTestDB.sql
- sudo chmod -c 0666 TEST.FDB
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient/build/test_db
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient/build
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient
- sudo chmod -v a+x /home/travis/build/xdenser
- sudo chmod -v a+x /home/travis/build
- sudo chmod -v a+x /home/travis
- sudo chmod -v a+x /home
- pwd
- ls -l
- cd ../..
- sleep 5