This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (61 loc) · 1.89 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
58
59
60
61
62
63
64
65
66
67
68
69
language: c
cache:
ccache: true
directories:
# Store ctest cost data
- Testing
# Use Linux by default
os: linux
dist: bionic
# Install newer SeeMake on Linux
addons:
snaps:
- name: cmake
confinement: classic
channel: latest
jobs:
include:
- name: "GCC 7.5 - Release, CMake 3.19, No Unity"
compiler: gcc
before_install:
- wget --output-document=${HOME}/CMake https://cmake.org/files/v3.19/cmake-3.19.0-Linux-x86_64.tar.gz --no-check-certificate
- tar --extract --one-top-level=${HOME}/SeeMake --strip-components 1 --file ${HOME}/CMake
- export PATH=${HOME}/SeeMake/bin/:${PATH}
env:
- TRAVIS_SCHEDULESQL_BUILD_TYPE=Release
- TRAVIS_SCHEDULESQL_UNITY_BUILDS=No
- name: "GCC 7.5 - Debug, CMake 3.19, No Unity"
compiler: gcc
before_install:
- wget --output-document=${HOME}/CMake https://cmake.org/files/v3.19/cmake-3.19.0-Linux-x86_64.tar.gz --no-check-certificate
- tar --extract --one-top-level=${HOME}/SeeMake --strip-components 1 --file ${HOME}/CMake
- export PATH=${HOME}/SeeMake/bin/:${PATH}
env:
- TRAVIS_SCHEDULESQL_BUILD_TYPE=Debug
- TRAVIS_SCHEDULESQL_UNITY_BUILDS=No
# Do not let CMake find ccache wrappers
# we use CMAKE_CXX_COMPILER_LAUNCHER for ccache support
before_script:
- export PATH=$(echo "$PATH" | sed -e 's/:\/usr\/lib\/ccache//')
- chmod +x travisbuild.sh
- chmod +x create.sh
- chmod +x create_directory.sh
- chmod +x delete.sh
- chmod +x delete_directory.sh
- chmod +x modify.sh
- chmod +x modify_directory.sh
- chmod +x modify_file_add_content.sh
- chmod +x modify_file_delete_content.sh
# Run the build and tests
# script: ./travisbuild.sh
script: ./travisbuild.sh
notifications:
email:
on_success: never
on_failure: never
on_error: never
on_cancel: never
on_start: never
branches:
only:
- main