Skip to content

Commit f0463be

Browse files
committedFeb 11, 2020
Setup CI
1 parent 2a5371b commit f0463be

File tree

5 files changed

+27
-41
lines changed

5 files changed

+27
-41
lines changed
 

‎.ci_scripts/bintray_conf.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ then
1919
cat > "bintray.json" <<EOF
2020
{
2121
"package": {
22-
"subject": "bvschaik",
22+
"subject": "keriew",
2323
"repo": "$REPO",
2424
"name": "linux$NAME_SUFFIX",
2525
"licenses": ["AGPL-V3"],
26-
"vcs_url": "https://github.com/bvschaik/julius.git"
26+
"vcs_url": "https://github.com/keriew/julius.git"
2727
},
2828
2929
"version": {
@@ -47,11 +47,11 @@ then
4747
cat > "bintray.json" <<EOF
4848
{
4949
"package": {
50-
"subject": "bvschaik",
50+
"subject": "keriew",
5151
"repo": "$REPO",
5252
"name": "mac$NAME_SUFFIX",
5353
"licenses": ["AGPL-V3"],
54-
"vcs_url": "https://github.com/bvschaik/julius.git"
54+
"vcs_url": "https://github.com/keriew/julius.git"
5555
},
5656
5757
"version": {
@@ -76,11 +76,11 @@ then
7676
cat > "bintray.json" <<EOF
7777
{
7878
"package": {
79-
"subject": "bvschaik",
79+
"subject": "keriew",
8080
"repo": "$REPO",
8181
"name": "vita$NAME_SUFFIX",
8282
"licenses": ["AGPL-V3"],
83-
"vcs_url": "https://github.com/bvschaik/julius.git"
83+
"vcs_url": "https://github.com/keriew/julius.git"
8484
},
8585
8686
"version": {
@@ -105,11 +105,11 @@ then
105105
cat > "bintray.json" <<EOF
106106
{
107107
"package": {
108-
"subject": "bvschaik",
108+
"subject": "keriew",
109109
"repo": "$REPO",
110110
"name": "switch$NAME_SUFFIX",
111111
"licenses": ["AGPL-V3"],
112-
"vcs_url": "https://github.com/bvschaik/julius.git"
112+
"vcs_url": "https://github.com/keriew/julius.git"
113113
},
114114
115115
"version": {

‎.ci_scripts/bintray_link.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ REPO=$(grep '"repo":' bintray.json | head -n1 | grep -o -E '[^":, ]+' | tail -n1
44
RELEASE=$(grep '"name":' bintray.json | head -n1 | grep -o -E '[^":, ]+' | tail -n1)
55
VERSION=$(grep '"name":' bintray.json | tail -n1 | grep -o -E '[^":, ]+' | tail -n1)
66

7-
echo "Bintray link: https://bintray.com/bvschaik/$REPO/$RELEASE/$VERSION#files"
7+
echo "Bintray link: https://bintray.com/keriew/$REPO/$RELEASE/$VERSION#files"

‎.ci_scripts/run_build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ case "$BUILD_TARGET" in
88
docker exec switchdev /bin/bash -c "cd build && make"
99
;;
1010
"mac")
11-
cd build && make && make test && make install && \
11+
cd build && make && make install && \
1212
echo "Creating disk image" && \
1313
hdiutil create -volname Julius -srcfolder julius.app -ov -format UDZO julius.dmg
1414
;;
1515
"appimage")
16-
cd build && make && make test && \
16+
cd build && make && \
1717
make DESTDIR=AppDir install && \
1818
cd .. && \
1919
./.ci_scripts/package_appimage.sh
2020
;;
2121
*)
22-
cd build && make && make test
22+
cd build && make
2323
;;
2424
esac

‎.travis.yml

+15-28
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: c
2-
32
matrix:
4-
# Note: If you add a build here or change the order, you need to update the CI badges in README.md as well!
53
include:
64
- os: linux
75
compiler: gcc
@@ -13,60 +11,49 @@ matrix:
1311
compiler: clang
1412
env: SDL_LIB=SDL2-2.0.10 SDL_MIXER_LIB=SDL2_mixer-2.0.4
1513
- os: linux
16-
dist: xenial # Oldest still-supported LTS right now against which the AppImage is built. Update this to the next LTS when support drops.
14+
dist: xenial
1715
name: Linux AppImage
1816
compiler: gcc
1917
sudo: require
2018
env: BUILD_TARGET=appimage DEPLOY=appimage
2119
services:
22-
- docker
20+
- docker
2321
- os: osx
2422
compiler: clang
2523
env: SDL_LIB=SDL2-2.0.10 SDL_MIXER_LIB=SDL2_mixer-2.0.4 BUILD_TARGET=mac DEPLOY=mac
2624
- os: linux
2725
name: PS Vita
2826
env: BUILD_TARGET=vita DEPLOY=vita
2927
services:
30-
- docker
28+
- docker
3129
- os: linux
3230
name: Nintendo Switch
3331
env: BUILD_TARGET=switch DEPLOY=switch
34-
3532
cache:
3633
directories:
37-
- $SDL_LIB
38-
- $SDL_MIXER_LIB
39-
34+
- "$SDL_LIB"
35+
- "$SDL_MIXER_LIB"
4036
install:
41-
- ./.ci_scripts/start_docker.sh
42-
- ./.ci_scripts/install_sdl.sh;
43-
37+
- "./.ci_scripts/start_docker.sh"
38+
- "./.ci_scripts/install_sdl.sh;"
4439
before_script:
45-
- ./.ci_scripts/run_cmake.sh
46-
40+
- "./.ci_scripts/run_cmake.sh"
4741
script:
48-
- ./.ci_scripts/run_build.sh
49-
42+
- "./.ci_scripts/run_build.sh"
5043
after_success:
51-
- if [ $RUN_CODECOV ];
52-
then
53-
bash <(curl -s https://codecov.io/bash);
54-
fi;
55-
44+
- if [ $RUN_CODECOV ]; then bash <(curl -s https://codecov.io/bash); fi;
5645
before_deploy:
57-
- ./.ci_scripts/bintray_conf.sh
58-
46+
- "./.ci_scripts/bintray_conf.sh"
5947
deploy:
6048
provider: bintray
6149
on:
6250
all_branches: true
63-
repo: bvschaik/julius
64-
condition: $DEPLOY
51+
repo: Keriew/julius
6552
file: bintray.json
66-
user: bvschaik
53+
user: keriew
6754
skip_cleanup: true
6855
key:
69-
secure: "aOBNdwEeWFDLn5WxkczOvVdT0GgI97sr20wA+uG+RtUPclGczYYIxHWvp4l9ZsAJ32FIB9IzuuzrOHWFcv+vK2/4DaIDmYhilY197fBBSSDYdMNAxNCNSZkMV0t0B4OYaB9GI55QN0UIoycb6CHLxYA+uf4Y7pMZFxaKX9Fv1FXe5/XhsTVgrdZn+EVpMnCwD6LuPTlcwlVNppUgJmRVOX21SKyyW2VGvXjBRbYVssKm7ETBKnbZRqEIcvz6osBgCz7rBoj1V81q+TA3WQfCpaao8VQVQggBRtF/A0F6P4iHyHaCFF3PBzl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after_deploy:
7259
- ./.ci_scripts/bintray_link.sh

‎runtests.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/bin/bash
22

3-
cd build && find . -name '*.gcda' -exec rm '{}' \; && make && make test && cd .. && ./coverage.sh

0 commit comments

Comments
 (0)