Open cjshaw opened 5 years ago
Added environmental variables to travis CI and linked API repository to Travis. ~20 minutes
pushed branch with one .travis.yml file to handle both production and development branches (hopefully). ~ 2 hours
github file link for travis.yml: https://github.com/MerryFairyTalesAD440/API/blob/ryan_travis_ci/.travis.yml
Pull Request link: https://github.com/MerryFairyTalesAD440/API/pull/17
When you develop the CI/CD pipeline, you should also test it. Right now it fails with "Branch not permitted" because you tried to run it on your own branch. either you need to add your branch to the list of allowed branches or do a commit to the dev
branch at least to test the functionality.
Back in the day when we successfully tested the .travis.yml config: https://github.com/cjshaw/ad-cloud-func-test
We need to create a Travis ci pipeline that uploads whatever functions are created.
use this github for reference: https://github.com/cjshaw/ad-cloud-func-test
you need to hide the variables for azure web apps in travis-ci.org message clint if you need to know what the credentials are or where to find them on azure portal.