api set as secure in travis.yml