-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from JuliaQuant/update_testing
update to testing framework and indentation fixes
- Loading branch information
Showing
10 changed files
with
112 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
language: cpp | ||
compiler: | ||
- gcc | ||
compiler: | ||
- clang | ||
notifications: | ||
email: false | ||
env: | ||
matrix: | ||
- JULIAVERSION="juliareleases" | ||
- JULIAVERSION="julianightlies" | ||
before_install: | ||
- sudo add-apt-repository ppa:staticfloat/julia-deps -y | ||
- sudo add-apt-repository ppa:staticfloat/julianightlies -y | ||
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y | ||
- sudo apt-get update -qq -y | ||
- sudo apt-get install libpcre3-dev julia -y | ||
- git config --global user.name "Travis User" | ||
- git config --global user.email "travis@example.net" | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
script: | ||
- julia -e 'versioninfo(); Pkg.init();' | ||
- julia -e 'Pkg.clone("git://github.com/JuliaQuant/MarketTechnicals.jl.git"); Pkg.add("TimeSeries"); Pkg.add("FactCheck"); Pkg.add("MarketData")' | ||
- mkdir -p ~/.julia/MarketTechnicals | ||
- cp -R ./* ~/.julia/MarketTechnicals/ | ||
- julia ./test/runtests.jl | ||
- julia -e 'Pkg.init(); Pkg.clone(pwd())' | ||
- julia -e 'Pkg.test("MarketTechnicals",coverage=true)' | ||
after_success: | ||
- julia -e 'cd(Pkg.dir("MarketTechnicals")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
julia 0.3- | ||
TimeSeries | ||
StatsBase | ||
Reexport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FactCheck | ||
MarketData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
facts("Utilities") do | ||
|
||
context("Base.abs returns all positive numbers") do | ||
@fact sum((abs(cl .- op) .>= 0).values) => length(cl) | ||
end | ||
context("Base.abs returns all positive numbers") do | ||
@fact sum((abs(cl .- op) .>= 0).values) => length(cl) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters