Add configuration by env var; add test matrix for Travis CI