nfroidure / ttf2woff2

Convert ttf files to woff2.
MIT License
297 stars 39 forks source link

[Old repo PR] Testing OSX and Linux Travis CI test. #20

Closed erictaylor closed 8 years ago

erictaylor commented 8 years ago

WIP

This will allow us to run tests on both OS X and Linux via Travis CI.

What is currently working

As of b321378 this is working. HOWEVER, there currently is a downside (that maybe we can script our way out of, needs more investigating), we only are testing one version of node. Latest stable v5.x.x.

This is because we had to change the language option to bash vs node_js. The reason for this is because we need to invoke the nvm commands at a later time (in OS X case, after it is actually installed). Otherwise, nvm will attempt to run before it's installed on OSX, and fail before even getting to before_install.

So this forced us to change to language: bash. We then detect the OS version, and run OS specific code first, then the rest of the before_install, which includes installing NVM and installing a version of node.

Things to do