TravisCI: Run optimization test.

I let only the **TARGET=js** build to run the optimization test, because at the moment it is looking at js output. It could be split to be run on other targets if there is test for other output.