Just one of the things I'm learning. https://github.com/hchiam/learning
This is a minimal example for getting Travis CI to work on a GitHub repo. I chose the Tape framework for testing JavaScript. I like the minimal setup, especially for my learning purposes. You might also like an example setup to run Selenium on Travis CI.
You can see the automated test run data here: https://travis-ci.org/hchiam/learning-travis
(Uses code inspired by my Tape repo.)
- Install dependencies:
mkdir node_modules
npm install tape --save-dev
- Run test using Tape:
node test.js
- https://travis-ci.com/account/repositories (was: https://travis-ci.org/account/repositories)
- Search for the relevant GitHub repo
- Hit the sliding button so it moves to the right / turns green
https://github.com/hchiam/selenium-travis
Used chrome extension Selenium IDE to create a .side file that gets run in Travis CI.
https://github.com/hchiam/anonymous-input
Built with Electron. Tested by using spectron and mocha instead of Selenium IDE.
https://github.com/hchiam/slides
https://github.com/hchiam/learning-lighthouse-ci
Integrating surge
with Travis CI
https://surge.sh/help/integrating-with-travis-ci
Integrating cypress
with Travis CI
https://docs.cypress.io/guides/guides/continuous-integration.html#Travis
I just needed this 1 thing: (Apparently I didn't need to keep libgconf-2-4
nor the ~/.cache
.)
before_script:
- cypress install # to get Cypress working