This repository was archived by the owner on Nov 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : cpp
2+ compiler :
3+ - gcc
4+ os :
5+ - linux
6+ matrix :
7+ include :
8+ - os : linux
9+ addons :
10+ apt :
11+ sources :
12+ - ubuntu-toolchain-r-test
13+ packages :
14+ - g++-5
15+ - cmake
16+ - zip
17+ - unzip
18+ - gcc-5-multilib
19+ - g++-5-multilib
20+ env :
21+ - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
22+
23+ before_install :
24+ - eval "${MATRIX_EVAL}"
25+ install :
26+ - wget https://github.com/gabime/spdlog/archive/v0.10.0.zip
27+ - wget https://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.11-linux-glibc2.12-x86_64.tar.gz
28+ - unzip -qq v0.10.0.zip
29+ - mv spdlog-0.10.0/include/spdlog include
30+ - mkdir mysql
31+ - tar -zxf mysql-connector-c-6.1.11-linux-glibc2.12-x86_64.tar.gz -C mysql --strip-components=1
32+ script :
33+ - sed -i "s|^SET(MYSQL64_HOME.*|SET(MYSQL64_HOME \"$PWD\/mysql\")|" build/CMakeLists.txt
34+ - cd build
35+ - cmake . -DCMAKE_C_FLAGS=-m64 -DCMAKE_CXX_FLAGS=-m64
36+ - make
37+ - mv libr3_extension_x64.so r3_extension_x64.so
38+ - if [ ! -z "$TRAVIS_TAG" ]; then zip "R3-Extension-$TRAVIS_TAG-Linux.zip" r3_extension_x64.so; fi
39+ deploy :
40+ provider : releases
41+ api_key :
42+ secure : " $GH_RELEASE_TOKEN"
43+ file : " R3-Extension-$TRAVIS_TAG-Linux.zip"
44+ skip_cleanup : true
45+ on :
46+ tags : true
You can’t perform that action at this time.
0 commit comments