File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ dist : trusty
2
+
3
+ language : node_js
4
+
5
+ node_js :
6
+ - " 8"
7
+
8
+ before_install :
9
+ - wget https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip
10
+ - unzip jsshell-linux-x86_64.zip -d spidermoney
11
+ - sudo apt-get install -y libjavascriptcoregtk-3.0-bin
12
+
13
+ before_script :
14
+ - script/bootstrap
15
+ - mkdir -p builds/out-adv
16
+ - bin/cljsc src/test/cljs "{:optimizations :advanced :output-wrapper true :verbose true :compiler-stats true :parallel-build true :output-dir \"builds/out-adv\"}" > builds/out-adv/core-advanced-test.js
17
+
18
+ script :
19
+ - jsc builds/out-adv/core-advanced-test.js | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
20
+ - ./spidermoney/js -f builds/out-adv/core-advanced-test.js | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
21
+ - script/test-self-host | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
22
+ - script/test-self-parity | grep -o '[[:digit:]]*' | tail -n 2 | python script/check.py
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+
3
+ import sys
4
+
5
+ data = sys .stdin .read ()
6
+ for line in data .split ('\n ' ):
7
+ try :
8
+ if int (line ) > 0 :
9
+ sys .exit (- 1 )
10
+ except ValueError :
11
+ pass
You can’t perform that action at this time.
0 commit comments