github.com/influx6/npkg@v0.8.8/.travis.yml (about) 1 language: minimal 2 3 # make use of vm's 4 sudo: 'required' 5 6 # have the docker service set up (we'll 7 # update it later) 8 services: 9 - 'docker' 10 11 # prepare the machine before any code 12 # installation scripts 13 before_install: 14 - './.travis/main.sh' 15 16 # first execute the test suite. 17 # after the test execution is done and didn't 18 # fail, build the images (if this step fails 19 # the whole Travis build is considered a failure). 20 script: 21 22 jobs: 23 include: 24 - stage: tests 25 script: make docker-ci 26 27 # only execute the following instructions in 28 # the case of a success (failing at this point 29 # won't mark the build as a failure). 30 # To have `DOCKER_USERNAME` and `DOCKER_PASSWORD` 31 # filled you need to either use `.travis`' cli 32 # and then `.travis set ..` or go to the .travis 33 # page of your repository and then change the 34 # environment in the settings pannel. 35 after_success: 36 - echo "done!" 37 38 # don't notify me when things fail 39 # notifications: