fix environment detection

This commit is contained in:
2017-05-15 18:27:13 +02:00
parent a5633a01c5
commit 800e4d8956
5 changed files with 64 additions and 16 deletions

View File

@ -2,7 +2,7 @@ import { tap, expect } from 'tapbundle'
import * as path from 'path'
// set up environment
process.env.CI_BUILD_REPO = 'https://yyyyyy:xxxxxxxx@gitlab.com/mygroup/myrepo.git'
process.env.CI_REPOSITORY_URL = 'https://yyyyyy:xxxxxxxx@gitlab.com/mygroup/myrepo.git'
process.env.NPMCI_SSHKEY_1 = 'hostString|somePrivKey|##'
process.env.NPMTS_TEST = 'true'
process.cwd = () => {