Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mtxclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
mtxclient
Commits
e9d0297a
Commit
e9d0297a
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Update ci
parent
d337ce6d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/boost.sh
+12
-0
12 additions, 0 deletions
.ci/boost.sh
.ci/gtest.sh
+0
-0
0 additions, 0 deletions
.ci/gtest.sh
.travis.yml
+11
-5
11 additions, 5 deletions
.travis.yml
with
23 additions
and
5 deletions
.ci/boost.sh
0 → 100755
+
12
−
0
View file @
e9d0297a
#!/usr/bin/env bash
set
-evx
sudo
wget
-O
boost_1_66_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.gz/download
sudo tar
xzf boost_1_66_0.tar.gz
cd
boost_1_66_0/
sudo
./bootstrap.sh
--with-libraries
=
random,thread,system,chrono,date_time,atomic
--prefix
=
/usr/local
sudo
./b2
-d0
variant
=
debug
link
=
shared
sudo
./b2
-d0
install
This diff is collapsed.
Click to expand it.
.ci/gtest.sh
100644 → 100755
+
0
−
0
View file @
e9d0297a
File mode changed from 100644 to 100755
This diff is collapsed.
Click to expand it.
.travis.yml
+
11
−
5
View file @
e9d0297a
...
...
@@ -15,10 +15,14 @@ matrix:
-
os
:
osx
osx_image
:
xcode8
compiler
:
clang
env
:
-
OPENSLL_ROOT_DIR=/usr/local/opt/openssl
-
TESTS=OFF
-
os
:
linux
compiler
:
gcc
env
:
-
CXX_VERSION=g++-6
-
TESTS=ON
addons
:
apt
:
sources
:
...
...
@@ -29,6 +33,7 @@ matrix:
compiler
:
gcc
env
:
-
CXX_VERSION=g++-7
-
TESTS=ON
addons
:
apt
:
sources
:
...
...
@@ -40,6 +45,7 @@ matrix:
env
:
-
CXX_VERSION=clang++-5.0
-
LINT=ON
-
TESTS=ON
addons
:
apt
:
sources
:
...
...
@@ -49,10 +55,11 @@ matrix:
-
"
clang++-5.0"
-
"
clang-5.0"
-
"
g++-7"
-
"
clang-format"
install
:
-
if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew upgrade boost; fi
-
if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/gtest.sh; fi
-
if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/boost.sh; fi
-
if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:george-edison55/cmake-3.x; fi
-
if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq; fi
-
if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install -qq -y cmake; fi
...
...
@@ -64,13 +71,12 @@ script:
-
cmake --version
# Build library, examples & tests
-
cmake -H. -Bbuild
-
cmake -H. -Bbuild
-DOPENSSL_ROOT_DIR=$OPENSLL_ROOT_DIR -DBUILD_LIB_TESTS=$TESTS
-
cmake --build build
# Unit & Integration tests
-
make synapse
-
make test
-
make stop-synapse
-
if [ $TESTS == ON ]; then make synapse; fi
-
if [ $TESTS == ON ]; then make test; fi
# Linting
-
if [ $LINT == ON ]; then make lint; fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment