This file contains hidden or 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
#Downloading the .pearrc, travis doesn't allow me to cache files... | |
curl -s -o $HOME/.pearrc https://gist.githubusercontent.com/DennisSnijder/66cc4de2da72e23482193c52c5fcf39e/raw/ab510552fd9515fdec74f97b39f3c825434eeb57/.pearrc | |
#Checking if the PHP7 binaries are already there. | |
if [ -d "$HOME/.phpenv/versions/7.0.17/include" ]; then | |
echo "PHP7 already installed, setting php env..." | |
phpenv global 7.0.17 | |
exit 0 | |
fi |
This file contains hidden or 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
#PEAR_Config 0.9 | |
a:13:{s:15:"preferred_state";s:6:"stable";s:8:"temp_dir";s:17:"/tmp/pear/install";s:12:"download_dir";s:17:"/tmp/pear/install";s:7:"bin_dir";s:40:"/home/travis/.phpenv/versions/7.0.17/bin";s:7:"php_dir";s:47:"/home/travis/.phpenv/versions/7.0.17/share/pear";s:7:"doc_dir";s:41:"/home/travis/.phpenv/versions/7.0.17/docs";s:8:"data_dir";s:41:"/home/travis/.phpenv/versions/7.0.17/data";s:7:"cfg_dir";s:40:"/home/travis/.phpenv/versions/7.0.17/cfg";s:7:"www_dir";s:40:"/home/travis/.phpenv/versions/7.0.17/www";s:7:"man_dir";s:40:"/home/travis/.phpenv/versions/7.0.17/man";s:8:"test_dir";s:42:"/home/travis/.phpenv/versions/7.0.17/tests";s:10:"__channels";a:3:{s:5:"__uri";a:0:{}s:11:"doc.php.net";a:0:{}s:12:"pecl.php.net";a:0:{}}s:13:"auto_discover";i:1;} |
This file contains hidden or 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
package abstraction; | |
import Util.OsCheck; | |
import org.lwjgl.opengl.APPLEVertexArrayObject; | |
import org.lwjgl.opengl.GL30; | |
public final class GL30Abstraction { | |
public static void glBindVertexArray( int array ) { | |
OsCheck.OSType ostype = OsCheck.getOperatingSystemType(); |