Skip to content

Commit

Permalink
ci, feat: test --prof.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Oct 17, 2017
1 parent 138b59b commit ff90700
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff90700

Please sign in to comment.