File tree Expand file tree Collapse file tree 1 file changed +14
-37
lines changed Expand file tree Collapse file tree 1 file changed +14
-37
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,17 @@ do_steps: &do_steps
32
32
33
33
# we clone a fork of bake
34
34
cd "$HOME" && git clone -b ${BAKE_BRANCH} git://github.com/nsnam/bake-git ./bake
35
+
36
+ # setup environment
37
+ OS=$(awk -F= '/^NAME/{print $2}' /etc/os-release)
38
+ if [[ $OS = "\"Ubuntu\"" ]] ; then
39
+ sudo apt-get update; sudo apt-get install -y python-pip python3-pip ;
40
+ elif [[ $OS = "Fedora" ]] ; then
41
+ sudo yum -y update ; sudo yum install -y python-pip python3-pip;
42
+ fi
43
+
44
+ sudo pip install distro requests; sudo pip3 install distro requests
45
+
35
46
cd "$HOME" && ./bake/bake.py configure -e dce-umip-${BAKE_MOD_VERSION} -e dce-linux-${BAKE_MOD_VERSION}
36
47
cd "$HOME" && ./bake/bake.py download -vvv
37
48
@@ -77,64 +88,30 @@ do_steps: &do_steps
77
88
path : ~/junit
78
89
- store_artifacts :
79
90
path : ~/junit
91
+ - store_artifacts :
80
92
path : ~/testpy-output
81
93
82
94
# # Customize the test machine
83
95
jobs :
84
- ubuntu14.04 :
85
- docker :
86
- - image : ns3dce/ubuntu14.04:0.1
87
- environment :
88
- << : *do_steps
89
-
90
96
ubuntu16.04 :
91
97
docker :
92
98
- image : ns3dce/ubuntu16.04:0.1
93
99
environment :
94
100
<< : *do_steps
95
101
96
- ubuntu17.04 :
97
- docker :
98
- - image : ns3dce/ubuntu17.04:0.1
99
- environment :
100
- << : *do_steps
101
-
102
- fedora26 :
103
- docker :
104
- - image : ns3dce/fedora26:0.1
105
- environment :
106
- << : *do_steps
107
-
108
- fedora27 :
109
- docker :
110
- - image : ns3dce/fedora27:0.1
111
- environment :
112
- << : *do_steps
113
-
114
- # not yet released (171228)
115
- fedora28 :
116
- docker :
117
- - image : ns3dce/fedora28:0.1
118
- environment :
119
- << : *do_steps
120
-
121
102
122
103
workflows :
123
104
version : 2
124
105
build :
125
106
jobs :
126
- - ubuntu14.04
127
107
- ubuntu16.04
128
- - ubuntu17.04
129
- - fedora26
130
- - fedora27
131
108
nightly_workflow :
132
109
triggers :
133
110
- schedule :
134
111
cron : " 0 1 * * *" # run at 1am UTC
135
112
filters :
136
113
branches :
137
114
only :
138
- - fix-valgrind-test
115
+ - fix-valgrind-test
139
116
jobs :
140
- - ubuntu14.04_valgrind
117
+ - ubuntu14.04_valgrind
You can’t perform that action at this time.
0 commit comments