Skip to content

Commit 41e9f3f

Browse files
test linux build on 18.04
1 parent 1e5be4d commit 41e9f3f

File tree

2 files changed

+31
-11
lines changed

2 files changed

+31
-11
lines changed

.travis.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,24 @@ jobs:
2222
dist: xenial
2323
arch: arm64
2424
env: LAZ_PKG=true RELEASE_ZIP_FILE="trackereditor_linux_AArch64.zip"
25-
- name: macOS 10.14 (PKG)
26-
os: osx
27-
osx_image: xcode11.3
28-
env: LAZ_PKG=true LAZ_OPT="--widgetset=cocoa" RELEASE_ZIP_FILE="trackereditor_macOS.zip"
29-
- name: Windows (PKG) Build 32-bit software
30-
os: windows
31-
env: LAZ_PKG=true LAZ_REL=32 RELEASE_ZIP_FILE="trackereditor_win32.zip"
25+
- name: Ubuntu 18.04 AMD64 (PKG = 1.8.2)
26+
os: linux
27+
dist: bionic
28+
env: LAZ_PKG=true RELEASE_ZIP_FILE="trackereditor_linux_amd64_18_04.zip"
29+
- name: Ubuntu 18.04 AArch64 (PKG = 1.8.2)
30+
os: linux
31+
dist: bionic
32+
arch: arm64
33+
env: LAZ_PKG=true RELEASE_ZIP_FILE="trackereditor_linux_AArch64_18_04.zip"
34+
35+
36+
# - name: macOS 10.14 (PKG)
37+
# os: osx
38+
# osx_image: xcode11.3
39+
# env: LAZ_PKG=true LAZ_OPT="--widgetset=cocoa" RELEASE_ZIP_FILE="trackereditor_macOS.zip"
40+
# - name: Windows (PKG) Build 32-bit software
41+
# os: windows
42+
# env: LAZ_PKG=true LAZ_REL=32 RELEASE_ZIP_FILE="trackereditor_win32.zip"
3243

3344
before_install:
3445
# Install python in windows OS

scripts/travis_unit_test.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,22 @@ then
88
# show Linux OS version
99
uname -a
1010

11-
# show openSSL version
12-
openssl version
11+
# show available openSSL version
12+
ldconfig -p|grep ssl
1313

14-
# Exit immediately if a command exits with a non-zero status.
14+
echo 'Start: Test SSL connection'
1515
set -e
16-
xvfb-run enduser/test_trackereditor -a --format=plain
16+
xvfb-run enduser/trackereditor -TEST_SSL
1717
set +e
18+
echo 'Succsess: Test SSL connection'
19+
20+
if [ "$TRAVIS_CPU_ARCH" = "amd64" ]
21+
then
22+
# Exit immediately if a command exits with a non-zero status.
23+
set -e
24+
xvfb-run enduser/test_trackereditor -a --format=plain
25+
set +e
26+
fi
1827

1928
elif [ "$TRAVIS_OS_NAME" = "osx" ]
2029
then

0 commit comments

Comments
 (0)