Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 5878dc7

Browse files
committed
Revert travis and Jenkinsfile
1 parent bd75a24 commit 5878dc7

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ install:
142142

143143
before_script:
144144
# first, run source_validator
145-
- python -m script.validators.source_validator
145+
- python script/validators/source_validator.py
146146

147147
# build peloton (override this value to execute tests)
148148
script:

Jenkinsfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pipeline {
1414
}
1515
steps {
1616
sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
17-
sh 'python3 -m script.validators.source_validator'
17+
sh 'python script/validators/source_validator.py'
1818
sh 'mkdir build'
1919
sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False -DUSE_SANITIZER=Address .. && make -j4'
2020
sh 'cd build && make check -j4 || true'
@@ -30,7 +30,7 @@ pipeline {
3030
agent { docker { image 'ubuntu:xenial' } }
3131
steps {
3232
sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
33-
sh 'python3 -m script.validators.source_validator'
33+
sh 'python script/validators/source_validator.py'
3434
sh 'mkdir build'
3535
sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
3636
}
@@ -40,7 +40,7 @@ pipeline {
4040
agent { docker { image 'ubuntu:trusty' } }
4141
steps {
4242
sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
43-
sh 'python3 -m script.validators.source_validator'
43+
sh 'python script/validators/source_validator.py'
4444
sh 'mkdir build'
4545
sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False -DUSE_SANITIZER=Address -DCMAKE_CXX_FLAGS="-DLOG_LEVEL=LOG_LEVEL_TRACE" .. && make -j4'
4646
// redirect output to /dev/null because it is voluminous
@@ -56,7 +56,7 @@ pipeline {
5656
agent { docker { image 'ubuntu:trusty' } }
5757
steps {
5858
sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
59-
sh 'python3 -m script.validators.source_validator'
59+
sh 'python script/validators/source_validator.py'
6060
sh 'mkdir build'
6161
sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
6262
sh 'cd build && make check -j4 || true'
@@ -72,7 +72,7 @@ pipeline {
7272
// agent { docker { image 'debian:stretch' } }
7373
// steps {
7474
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
75-
// sh 'python3 -m script.validators.source_validator'
75+
// sh 'python script/validators/source_validator.py'
7676
// sh 'mkdir build'
7777
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False -DUSE_SANITIZER=Address .. && make -j4'
7878
// sh 'cd build && make check -j4 || true'
@@ -87,7 +87,7 @@ pipeline {
8787
// agent { docker { image 'debian:stretch' } }
8888
// steps {
8989
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
90-
// sh 'python3 -m script.validators.source_validator'
90+
// sh 'python script/validators/source_validator.py'
9191
// sh 'mkdir build'
9292
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
9393
// }
@@ -97,7 +97,7 @@ pipeline {
9797
// agent { docker { image 'fedora:26' } }
9898
// steps {
9999
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
100-
// sh 'python3 -m script.validators.source_validator'
100+
// sh 'python script/validators/source_validator.py'
101101
// sh 'mkdir build'
102102
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
103103
// }
@@ -107,7 +107,7 @@ pipeline {
107107
// agent { docker { image 'fedora:26' } }
108108
// steps {
109109
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
110-
// sh 'python3 -m script.validators.source_validator'
110+
// sh 'python script/validators/source_validator.py'
111111
// sh 'mkdir build'
112112
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
113113
// }
@@ -117,7 +117,7 @@ pipeline {
117117
// agent { docker { image 'fedora:27' } }
118118
// steps {
119119
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
120-
// sh 'python3 -m script.validators.source_validator'
120+
// sh 'python script/validators/source_validator.py'
121121
// sh 'mkdir build'
122122
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
123123
// }
@@ -127,7 +127,7 @@ pipeline {
127127
// agent { docker { image 'fedora:27' } }
128128
// steps {
129129
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
130-
// sh 'python3 -m script.validators.source_validator'
130+
// sh 'python script/validators/source_validator.py'
131131
// sh 'mkdir build'
132132
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
133133
// }
@@ -137,7 +137,7 @@ pipeline {
137137
// agent { docker { image 'centos:7' } }
138138
// steps {
139139
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
140-
// sh 'python3 -m script.validators.source_validator'
140+
// sh 'python script/validators/source_validator.py'
141141
// sh 'mkdir build'
142142
// sh 'cd build && cmake3 -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
143143
// }
@@ -147,7 +147,7 @@ pipeline {
147147
// agent { docker { image 'centos:7' } }
148148
// steps {
149149
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
150-
// sh 'python3 -m script.validators.source_validator'
150+
// sh 'python script/validators/source_validator.py'
151151
// sh 'mkdir build'
152152
// sh 'cd build && cmake3 -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
153153
// }
@@ -159,7 +159,7 @@ pipeline {
159159
// agent { docker { image 'ubuntu:xenial' } }
160160
// steps {
161161
// sh 'sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
162-
// sh 'python3 -m script.validators.source_validator'
162+
// sh 'python script/validators/source_validator.py'
163163
// sh 'mkdir build'
164164
// sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4 && make install'
165165
// }
@@ -169,7 +169,7 @@ pipeline {
169169
// agent { docker { image 'ubuntu:xenial' } }
170170
// steps {
171171
// sh 'sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
172-
// sh 'python3 -m script.validators.source_validator'
172+
// sh 'python script/validators/source_validator.py'
173173
// sh 'mkdir build'
174174
// sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install'
175175
// }
@@ -179,7 +179,7 @@ pipeline {
179179
// agent { docker { image 'ubuntu:trusty' } }
180180
// steps {
181181
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
182-
// sh 'python3 -m script.validators.source_validator'
182+
// sh 'python script/validators/source_validator.py'
183183
// sh 'mkdir build'
184184
// sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
185185
// }
@@ -189,7 +189,7 @@ pipeline {
189189
// agent { docker { image 'ubuntu:trusty' } }
190190
// steps {
191191
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
192-
// sh 'python3 -m script.validators.source_validator'
192+
// sh 'python script/validators/source_validator.py'
193193
// sh 'mkdir build'
194194
// sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
195195
// }
@@ -199,7 +199,7 @@ pipeline {
199199
// agent { docker { image 'fedora:26' } }
200200
// steps {
201201
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
202-
// sh 'python3 -m script.validators.source_validator'
202+
// sh 'python script/validators/source_validator.py'
203203
// sh 'mkdir build'
204204
// sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
205205
// }
@@ -209,7 +209,7 @@ pipeline {
209209
// agent { docker { image 'fedora:26' } }
210210
// steps {
211211
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
212-
// sh 'python3 -m script.validators.source_validator'
212+
// sh 'python script/validators/source_validator.py'
213213
// sh 'mkdir build'
214214
// sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
215215
// }
@@ -219,7 +219,7 @@ pipeline {
219219
// agent { docker { image 'fedora:27' } }
220220
// steps {
221221
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
222-
// sh 'python3 -m script.validators.source_validator'
222+
// sh 'python script/validators/source_validator.py'
223223
// sh 'mkdir build'
224224
// sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
225225
// }
@@ -229,7 +229,7 @@ pipeline {
229229
// agent { docker { image 'fedora:27' } }
230230
// steps {
231231
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
232-
// sh 'python3 -m script.validators.source_validator'
232+
// sh 'python script/validators/source_validator.py'
233233
// sh 'mkdir build'
234234
// sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
235235
// }

0 commit comments

Comments
 (0)