Comments (2)
So I ended up deciding not to use Travis to automate the upload to Heroku but instead to just add a heroku
build target that can be called to push https://vnu.herokuapp.com/ when needed.
For Travis testing of the war file, I added steps that install Tomcat 7, copy the vnu.war file to the Tomcat webapps dir, and then send a document to that vnu instance for checking:
https://github.com/validator/validator/blob/master/.travis.yml#L22
- sudo apt-get install tomcat7
- sudo cp ./build/dist/vnu.war /var/lib/tomcat7/webapps
- sleep 15
- curl -sS 'http://localhost:8080/vnu/?out=gnu&doc=data:text/html;charset=utf-8,%3C%21doctype%20html%3E%3Cmeta%20charset%3Dutf-8%3E%3Ctitle%3ETest%3C%2Ftitle%3E' > RESULTS
- test -z "$(cat RESULTS)"
- if [ $? != 0 ]; then cat RESULTS; fi
from validator.
I'd be interested in knowing how to set up vnu in Heroku, can you share the recipe?
from validator.
Related Issues (20)
- Why HTTP/1.0? HOT 1
- `<noscript>` invalid as direct descendant of `<body>`?
- CSS being identified as html thus giving error
- Add "onpageswap" attribute to "body" element
- WordPress Gutenberg Block Library CSS incorrect validation HOT 3
- No warning for validator HOT 2
- Icon for "verified html" HOT 2
- Add writingsuggestions attribute
- No error when using ASCII upper alphas in Attribute Name for Custom Data Attributes HOT 1
- Possible misuse of aria-label. (If you disagree with this warning
- Add shadowrootserializable attribute to template element
- the XML syntax is not recommended
- bad my compute
- CSS text-wrap and shape-margin throwing validator errors
- Button with type="button" doesn't support role="combobox"
- Element dialog is missing required attribute role HOT 1
- Error Code 429 - too many requests
- Warnings about non supported, non global ARIA attributes use on ARIA roles
- Misunderstood language HOT 2
- <a> must not appear as a descendant of <button>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validator.