Backport travis_before_script.sh from master branch

- remove crypto_master_salt
- inherit_global is int, not bool