Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.core
Commits
d2f72c74
Commit
d2f72c74
authored
Oct 15, 2018
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tries yet another strategy
parent
c5e93d1b
Pipeline
#24326
canceled with stages
in 4 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
44 deletions
+2
-44
conda/meta.yaml
conda/meta.yaml
+2
-2
conda/run_test.sh
conda/run_test.sh
+0
-42
No files found.
conda/meta.yaml
View file @
d2f72c74
...
...
@@ -57,8 +57,8 @@ test:
commands
:
-
worker --help
-
sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
-
sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
-
if [ -z "${BEAT_DOCKER_TESTS}" ]; then sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx; fi
-
if [ -z "${BEAT_DOCKER_TESTS}" ]; then sphinx-build -aEb doctest {{ project_dir }}/doc sphinx; fi
-
conda inspect linkages -p $PREFIX {{ name }}
# [not win]
-
conda inspect objects -p $PREFIX {{ name }}
# [osx]
...
...
conda/run_test.sh
deleted
100644 → 0
View file @
c5e93d1b
#/usr/bin/env bash
# Checks whether to use "date" or "gdate"
gnudate
()
{
if
hash
gdate 2>/dev/null
;
then
echo
gdate
else
echo date
fi
}
DATE
=
`
gnudate
`
# datetime prefix for logging
log_datetime
()
{
echo
"(
$(
${
DATE
}
+%T.%3N
)
)"
}
# Functions for coloring echo commands
log_info
()
{
echo
-e
"
$(
log_datetime
)
\0
33[1;34m
${
@
}
\0
33[0m"
}
log_error
()
{
echo
-e
"
$(
log_datetime
)
\0
33[1;31mError:
${
@
}
\0
33[0m"
>
&2
}
# Function for running command and echoing results
run_cmd
()
{
log_info
"
$
${
@
}
"
${
@
}
local
status
=
$?
if
[
${
status
}
!=
0
]
;
then
log_error
"Command Failed
\"
${
@
}
\"
"
exit
${
status
}
fi
}
if
[
-z
"
${
BEAT_DOCKER_TESTS
}
"
]
;
then
run_cmd nosetests
--with-coverage
--cover-package
=
${
PKG_NAME
}
-sv
${
PKG_NAME
}
--exclude
=
".*test_docker.*"
else
run_cmd nosetests
--with-coverage
--cover-package
=
${
PKG_NAME
}
-sv
${
PKG_NAME
}
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment