diff --git a/.travis.yml b/.travis.yml index e302d746..05162db8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,10 @@ before_install: - cd $HOME - git clone https://github.com/Azareal/Gosora - cd Gosora - - chmod -R 0755 . - mv ./config/config_example.json ./config/config.json + - chmod 755 ./update-deps-linux + - chmod 755 ./dev-update-travis + - chmod 755 ./run-linux-tests - ./update-deps-linux - ./dev-update-travis install: true @@ -20,7 +22,6 @@ before_script: - ./cc-test-reporter before-build script: ./run-linux-tests after_script: - - ./cc-test-reporter format-coverage --input-type gocov cover.out - - ./cc-test-reporter upload-coverage + - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT addons: mariadb: '10.0' \ No newline at end of file diff --git a/run-linux-tests b/run-linux-tests index d1932ff1..918f8ae2 100644 --- a/run-linux-tests +++ b/run-linux-tests @@ -1,4 +1,4 @@ echo "Generating the dynamic code" go generate echo "Running tests" -go test -coverprofile=cover.out +go test -coverprofile c.out ./...