Skip to content

Commit 5ab301e

Browse files
committed
chore: Remove all references to Travis CI.
Travis gave up on FOSS, so no more free advertisement for Travis.
1 parent 73484d8 commit 5ab301e

File tree

18 files changed

+32
-122
lines changed

18 files changed

+32
-122
lines changed

.circleci/cmake-asan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu
44

55
CACHEDIR="$HOME/cache"
66

7-
. ".travis/flags-$CC.sh"
7+
. ".github/scripts/flags-$CC.sh"
88
add_flag -Werror
99
add_flag -fdiagnostics-color=always
1010
add_flag -fno-omit-frame-pointer

.circleci/cmake-tsan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu
44

55
CACHEDIR="$HOME/cache"
66

7-
. ".travis/flags-$CC.sh"
7+
. ".github/scripts/flags-$CC.sh"
88
add_flag -Werror
99
add_flag -fdiagnostics-color=always
1010
add_flag -fno-omit-frame-pointer

.travis/autotools-linux renamed to .github/scripts/autotools-linux

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -eu
77
CACHEDIR="$HOME/cache"
88
NPROC=$(nproc)
99

10-
travis_install() {
10+
ci_install() {
1111
# Install vanilla NaCl only.
1212
[ -f "$CACHEDIR/lib/amd64/libnacl.a" ] || {
1313
curl https://hyperelliptic.org/nacl/nacl-20110221.tar.bz2 | tar jx
@@ -22,8 +22,8 @@ travis_install() {
2222
}
2323
}
2424

25-
travis_script() {
26-
. ".travis/flags-$CC.sh"
25+
ci_script() {
26+
. ".github/scripts/flags-$CC.sh"
2727

2828
add_ld_flag -Wl,-z,defs
2929

@@ -47,7 +47,7 @@ travis_script() {
4747
}
4848

4949
if [ "-z" "$ACTION" ]; then
50-
"travis_script"
50+
"ci_script"
5151
else
52-
"travis_$ACTION"
52+
"ci_$ACTION"
5353
fi

.travis/cmake-freebsd-stage2 renamed to .github/scripts/cmake-freebsd-stage2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ gunzip "$IMAGE_NAME.gz"
2020

2121
start_vm
2222

23-
# Copy over toxcore code from Travis to qemu
23+
# Copy over toxcore code from host to qemu
2424
scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -P "$SSH_PORT" -r /c-toxcore root@localhost:~
2525

2626
RUN ls -lh
2727

2828
cd /c-toxcore
2929
CACHEDIR=/opt/cache
3030
mkdir "$CACHEDIR"
31-
. ".travis/flags-clang.sh"
31+
. ".github/scripts/flags-clang.sh"
3232

3333
add_ld_flag -Wl,-z,defs
3434

.travis/cmake-linux renamed to .github/scripts/cmake-linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ NPROC=$(nproc)
77

88
sudo apt-get install -y --no-install-recommends libopus-dev libsodium-dev libvpx-dev ninja-build
99

10-
. ".travis/flags-$CC.sh"
10+
. ".github/scripts/flags-$CC.sh"
1111

1212
add_ld_flag -Wl,-z,defs
1313

.travis/cmake-osx renamed to .github/scripts/cmake-osx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ brew update
1010

1111
brew install libconfig libsodium libvpx opus
1212

13-
. ".travis/flags-clang.sh"
13+
. ".github/scripts/flags-clang.sh"
1414

1515
add_ld_flag -undefined error
1616

.travis/cmake-win32 renamed to .github/scripts/cmake-win32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ i686=true
44
x86_64=false
55
WINDOWS_ARCH=win32
66

7-
. .travis/cmake-windows.sh
7+
. .github/scripts/cmake-windows.sh

.travis/cmake-win64 renamed to .github/scripts/cmake-win64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ i686=false
44
x86_64=true
55
WINDOWS_ARCH=win64
66

7-
. .travis/cmake-windows.sh
7+
. .github/scripts/cmake-windows.sh

.travis/cmake-windows.sh renamed to .github/scripts/cmake-windows.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -eu
77
CACHEDIR="$HOME/cache"
88
NPROC=$(nproc)
99

10-
travis_install() {
10+
ci_install() {
1111
cd other/docker/windows
1212

1313
docker build \
@@ -18,8 +18,8 @@ travis_install() {
1818
.
1919
}
2020

21-
travis_script() {
22-
. ".travis/flags-gcc.sh"
21+
ci_script() {
22+
. ".github/scripts/flags-gcc.sh"
2323

2424
# Allows wine to display source code file names and line numbers on crash in
2525
# its backtrace.
@@ -45,7 +45,7 @@ travis_script() {
4545
}
4646

4747
if [ "-z" "$ACTION" ]; then
48-
"travis_script"
48+
"ci_script"
4949
else
50-
"travis_$ACTION"
50+
"ci_$ACTION"
5151
fi

.travis/flags-clang.sh renamed to .github/scripts/flags-clang.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
. .travis/flags.sh
3+
. .github/scripts/flags.sh
44

55
# Add all warning flags we can.
66
add_flag -Wall

0 commit comments

Comments
 (0)