summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-11-10 16:14:34 +0800
committeryangwei <[email protected]>2023-11-10 16:34:04 +0800
commitc531caa1cf56605242da3365fef07935c64bf2b7 (patch)
tree31837e2f1f5501645e057c7d007db58f27b5c72e /ci
parent2b47c81e973920245e1f21acbe0d35111e5acbe1 (diff)
🐎 ci(add gitlab ci): init add gitlab-ci.yml
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 5c94ef8..a398d5d 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -1,9 +1,6 @@
#!/usr/bin/env sh
set -evx
-chmod +x ci/prepare_gtest_network.sh
-. ci/prepare_gtest_network.sh
-
chmod +x ci/get-nprocessors.sh
. ci/get-nprocessors.sh
@@ -35,9 +32,6 @@ env | sort
: "${NO_RTTI:=OFF}"
: "${COMPILER_IS_GNUCXX:=OFF}"
-# Install dependency from YUM
-yum install -y libpcap-devel mrzcpd
-
if [ $ASAN_OPTION ]; then
source /opt/rh/devtoolset-7/enable
fi
@@ -53,17 +47,7 @@ cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \
..
make
-make test
if [ -n "${PACKAGE}" ]; then
make package
- cp ~/rpm_upload_tools.py ./
- python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
-fi
-
-if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
- rpm -i stellar*debuginfo*.rpm
- ls -ahl /usr/lib/debug/opt/tsg/stellar/bin/
- cp /usr/lib/debug/opt/tsg/stellar/bin/stellar*debug /tmp/stellar.debuginfo.${CI_COMMIT_SHORT_SHA}
- sentry-cli upload-dif -t elf /tmp/stellar.debuginfo.${CI_COMMIT_SHORT_SHA}
fi \ No newline at end of file