Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 7d0c49e

Browse files
authored
Merge pull request #22 from startupturbo/option_run_on
Option "--run-on ...", use public docker image; full CI tests; more
2 parents ee98987 + 94f2122 commit 7d0c49e

30 files changed

+237
-140
lines changed

.circleci/config.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@ jobs:
33
build:
44
working_directory: ~/nancy
55
docker:
6-
- image: node:8.2
6+
- image: ubuntu:16.04
77
steps:
8+
- run:
9+
name: Install software
10+
command: |
11+
apt-get update && apt-get install -y sudo wget \
12+
&& wget get.docker.com -q -S -O - | sudo sh
813
- checkout
914
- run:
1015
name: Tests
1116
command: |
12-
for f in tests/*.sh; do printf "$f\t\t" && bash "$f" -H; done
17+
errcount=0; for f in tests/*.sh; do printf "$f\t\t" && bash "$f" -H; \
18+
status=$?; \
19+
if [ $status -ne 0 ]; then \
20+
errcount="$(($errcount+1))"; \
21+
fi; done;
22+
#[ $errcount -ne 0 ] && echo -e "Oh no! $errcount tests failed"
23+
#[ $errcount -ne 0 ] && exit 1
24+

.circleci/custom.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
select count(1) from t1 where id between 555 and 777;
2+
3+
select count(1) from t1 where val between 0.555 and 0.777;

.circleci/ddl_create_index.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
create index i_speedup on t1 using btree(val);

.circleci/ddl_drop_index.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
drop index i_speedup;

.circleci/test.dump.bz2

134 Bytes
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.circleci/tmp
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)