diff --git a/.drone.yml b/.drone.yml index 7db0f1d..623dad9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,6 @@ steps: - name: test image: gcc:latest commands: - - pwd && ls + - ls -l - gcc hello.c -o hello - ./hello drone! - - echo program exit with code $? diff --git a/hello.c b/hello.c index a8c484d..ab1233b 100644 --- a/hello.c +++ b/hello.c @@ -2,5 +2,5 @@ int main(int argc, char* argv[]) { printf("hello, %s\n", argv[1]); - return -1; + return 0: }