Skip to content

Commit a925142

Browse files
committed
Add travis CI to master branch
1 parent 1d31c6c commit a925142

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.travis.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This is the control file for Travis continuous integration system.
2+
#
3+
# It is used automatically for the repositories on Github if it's found in the
4+
# root directory of the project.
5+
language: c
6+
sudo: required
7+
8+
# Specify the default platform.
9+
os: linux
10+
dist: xenial
11+
12+
jobs:
13+
include:
14+
- dist: xenial
15+
compiler: gcc
16+
env: WXGTK_PACKAGE=libwxgtk3.0-dev
17+
- dist: xenial
18+
compiler: gcc
19+
env: WXGTK_PACKAGE=libwxgtk3.0-dev
20+
arch: arm64
21+
- os: osx
22+
osx_image: xcode11.4
23+
compiler: clang
24+
25+
branches:
26+
only:
27+
- master
28+
29+
before_install:
30+
- autoreconf
31+
32+
script:
33+
- set -e && echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
34+
- ./configure
35+
- echo -en 'travis_fold:end:script.configure\\r'
36+
- echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
37+
- make
38+
- echo -en 'travis_fold:end:script.build\\r'
39+
- echo 'Testing...' && echo -en 'travis_fold:start:script.test\\r'
40+
- ./sqlite3shell test1.db3 ".read test/test1.sql"
41+
- ./sqlite3shell test2.db3 ".read test/test2.sql"
42+
- echo -en 'travis_fold:end:script.test\\r'
43+
44+
# The "set +e" is a workaround for https://github.com/travis-ci/travis-ci/issues/6522
45+

0 commit comments

Comments
 (0)