Permalink
Browse files

ci, feat: test --prof.

  • Loading branch information...
xicilion committed Oct 17, 2017
1 parent 138b59b commit ff90700a11e27f9b10edb75a76ebc5990f61ed06
Showing with 5 additions and 5 deletions.
  1. +3 −3 .travis/test.sh
  2. +2 −2 appveyor.yml
View
@@ -4,13 +4,13 @@ set -ev
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
if [[ $ARCH == "amd64" ]]; then
./bin/Linux_amd64_release/fibjs test/main.js
./bin/Linux_amd64_release/fibjs --prof test
fi
else # darwin
if [[ $ARCH == "amd64" ]]; then
./bin/Darwin_amd64_release/fibjs test/main.js
./bin/Darwin_amd64_release/fibjs --prof test
else
./bin/Darwin_i386_release/fibjs test/main.js
./bin/Darwin_i386_release/fibjs --prof test
fi
fi
View
@@ -12,8 +12,8 @@ install:
test_script:
- IF /I "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set NOXP=noxp
- IF /I "%PLATFORM%" == "x64" ECHO "x64 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 && build release amd64 !NOXP! && cd test && ..\bin\Windows_amd64_release\fibjs.exe main.js
- IF /I "%PLATFORM%" == "x86" ECHO "x86 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 && build release i386 !NOXP! && cd test && ..\bin\Windows_i386_release\fibjs.exe main.js
- IF /I "%PLATFORM%" == "x64" ECHO "x64 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 && build release amd64 !NOXP! && cd test && ..\bin\Windows_amd64_release\fibjs.exe --prof main.js
- IF /I "%PLATFORM%" == "x86" ECHO "x86 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 && build release i386 !NOXP! && cd test && ..\bin\Windows_i386_release\fibjs.exe --prof main.js
- IF /I "%APPVEYOR_REPO_TAG%" == "false" set APPVEYOR_REPO_TAG_NAME=dist
- mkdir %APPVEYOR_REPO_TAG_NAME%
- IF /I "%PLATFORM%" == "x64" copy .\bin\Windows_amd64_release\fibjs.exe .\%APPVEYOR_REPO_TAG_NAME%\fibjs-%APPVEYOR_REPO_TAG_NAME%-windows-x64.exe

0 comments on commit ff90700

Please sign in to comment.