8000 fix: fix tests · nejch/python-gitlab@44f112d · GitHub
[go: up one dir, main page]

Skip to content

Commit 44f112d

Browse files
committed
fix: fix tests
1 parent ad1c0dd commit 44f112d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml renamed to .travis-ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
sudo: required
2+
dist: xenial
23
services:
34
- docker
5+
addons:
6+
apt:
7+
sources:
8+
- deadsnakes
9+
packages:
10+
- python3.7
411
language: python
5-
python: 2.7
12+
python: 3.7
613
env:
714
- TOX_ENV=py_func_v4
815
- TOX_ENV=cli_func_v4

tools/build_test_env.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ done
122122

123123
# Get the token
124124
TOKEN=$($(dirname $0)/generate_token.py)
125+
echo $TOKEN
125126

126127
cat > $CONFIG << EOF
127128
[global]
@@ -138,6 +139,6 @@ log "Config file content ($CONFIG):"
138139
log <$CONFIG
139140

140141
log "Pausing to give GitLab some time to finish starting up..."
141-
sleep 60
142+
sleep 500
142143

143144
log "Test environment initialized."

0 commit comments

Comments
 (0)
0