FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular.js/jenkins_build.sh at master · imcom/angular.js · GitHub
imcom
angular.js
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
angular.js
/
jenkins_build.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
45 lines (32 loc) · 1.15 KB
Breadcrumbs
angular.js
/
jenkins_build.sh
Copy path
File metadata and controls
executable file
·
45 lines (32 loc) · 1.15 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!
/bin/bash
echo
"
#################################
"
echo
"
#### Jenkins Build ############
"
echo
"
#################################
"
#
Enable tracing and exit on first failure
set
-xe
#
Define reasonable set of browsers in case we are running manually from commandline
if
[[
-z
"
$BROWSERS
"
]]
then
BROWSERS=
"
Chrome,Firefox,Opera,/Users/jenkins/bin/safari.sh,/Users/jenkins/bin/ie8.sh,/Users/jenkins/bin/ie9.sh
"
fi
#
CLEAN #
rm -f angular.min.js.gzip.size
rm -f angular.js.size
#
BUILD #
npm install --color
false
grunt ci-checks package --no-color
mkdir -p test_out
#
DOCS generator unit tests #
grunt test:docgen --no-color
#
UNIT TESTS #
grunt test:unit --browsers
$BROWSERS
--reporters=dots,junit --no-colors --no-color
#
END TO END TESTS #
grunt test:ci-protractor
grunt test:ci-protractor --browser safari
grunt test:ci-protractor --browser firefox
#
Promises/A+ TESTS #
grunt test:promises-aplus --no-color
#
CHECK SIZE #
gzip -c
<
build/angular.min.js
>
build/angular.min.js.gzip
echo
"
YVALUE=
`
ls -l build/angular.min.js
|
cut -d
"
"
-f 8
`
"
>
angular.min.js.size
echo
"
YVALUE=
`
ls -l build/angular.min.js.gzip
|
cut -d
"
"
-f 8
`
"
>
angular.min.js.gzip.size
Back
|
FazBrowse Home
|
New Git URL