August 2018
Intermediate to advanced
416 pages
12h 37m
English
In the Travis CI YML script here, we specify Go version 1.10 as the primary programming language and then Node.js as the secondary language. We install Node.js dependencies in the before_install life cycle event and then we run a Golang test followed by a Node.js test:
language: gogo: - "1.10"env: - NODE_VERSION="6"before_install: - nvm install $NODE_VERSIONinstall: - npm installscript: - go test - npm test
If you would like to further explore this example, then check out the multiple-languages repository (https://github.com/packtci/multiple-languages).
Read now
Unlock full access