62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
-
-
+
+
-
-
+
+
+
|
- os: linux
dist: trusty
env:
- config=devkitpsp
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
if ! sudo apt-get -qq update >apt_log 2>&1; then
cat apt_log;
if ! sudo apt-get -qq update >/tmp/apt_log 2>&1; then
cat /tmp/apt_log;
exit 1;
fi;
if ! sudo apt-get -qq install -y gobjc-multilib >apt_log 2>&1; then
cat apt_log;
if ! sudo apt-get -qq install -y gobjc-multilib >/tmp/apt_log 2>&1;
then
cat /tmp/apt_log;
exit 1;
fi;
fi
- if [ "$config" = "devkitarm" ]; then
base_url="https://download.sourceforge.net/project/devkitpro";
wget -q "$base_url/devkitARM/devkitARM_r46/devkitARM_r46-x86_64-linux.tar.bz2"
|
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
-
-
+
+
-
-
+
+
-
-
+
+
|
tar -C "$HOME/devkitPro" -xjf devkitPSP_r16-1-x86_64-linux.tar.bz2;
fi
script:
- echo -e '%s/-DSTDOUT$/&_SIMPLE/\nwq' | ed -s tests/Makefile
- build() {
if ! git clean -fxd >clean_log 2>&1; then
cat clean_log;
if ! git clean -fxd >/tmp/clean_log 2>&1; then
cat /tmp/clean_log;
exit 1;
fi;
echo ">> Configuring with $@";
./autogen.sh;
if ! ./configure ac_cv_path_TPUT= "$@"; then
cat config.log;
exit 1;
fi;
echo ">> Building (configured with $@)";
if ! make -j4 >make_log 2>&1; then
cat make_log;
if ! make -j4 >/tmp/make_log 2>&1; then
cat /tmp/make_log;
exit 1;
fi;
echo ">> Installing (configured with $@)";
if ! sudo PATH="$PATH" make install >install_log 2>&1; then
cat install_log;
if ! sudo PATH="$PATH" make install >/tmp/install_log 2>&1; then
cat /tmp/install_log;
exit 1;
fi;
}
- if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
build_32_64() {
build OBJC="$CC" $@;
|