Update to commonjs spec for spm@3.x
Fixed travis config
Merge update to commonjs for spm@3.x